Improve Log Output of Skipped Posts
This commit is contained in:
parent
a794089c4f
commit
08a359408c
@ -723,7 +723,7 @@ class Instaloader:
|
|||||||
else:
|
else:
|
||||||
self.context.log("[{:3d}] ".format(number + 1), end="", flush=True)
|
self.context.log("[{:3d}] ".format(number + 1), end="", flush=True)
|
||||||
if post_filter is not None and not post_filter(post):
|
if post_filter is not None and not post_filter(post):
|
||||||
self.context.log("<{} skipped>".format(post))
|
self.context.log("{} skipped".format(post))
|
||||||
continue
|
continue
|
||||||
with self.context.error_catcher("Download {} of {}".format(post, target)):
|
with self.context.error_catcher("Download {} of {}".format(post, target)):
|
||||||
# The PostChangedException gets raised if the Post's id/shortcode changed while obtaining
|
# The PostChangedException gets raised if the Post's id/shortcode changed while obtaining
|
||||||
|
Loading…
Reference in New Issue
Block a user