1
0
mirror of https://github.com/instaloader/instaloader.git synced 2024-10-27 05:32:30 +01:00

Improve Log Output of Skipped Posts

This commit is contained in:
Alexander Graf 2020-04-10 11:12:09 +02:00
parent a794089c4f
commit 08a359408c

View File

@ -723,7 +723,7 @@ class Instaloader:
else:
self.context.log("[{:3d}] ".format(number + 1), end="", flush=True)
if post_filter is not None and not post_filter(post):
self.context.log("<{} skipped>".format(post))
self.context.log("{} skipped".format(post))
continue
with self.context.error_catcher("Download {} of {}".format(post, target)):
# The PostChangedException gets raised if the Post's id/shortcode changed while obtaining