Download Hashtag profilepic and save metadata JSON

This commit is contained in:
Alexander Graf committed 2020-04-19 11:16:39 +02:00
1 parent 83a0f52c60
commit c9e4f68597
3 files changed
+37 -11

No files matched your search

+2 -1
View File
@@ -144,7 +144,8 @@ def _main(instaloader: Instaloader, targetlist: List[str],
profiles.add(followee)
elif target[0] == '#':
instaloader.download_hashtag(hashtag=target[1:], max_count=max_count, fast_update=fast_update,
post_filter=post_filter)
post_filter=post_filter,
profile_pic=download_profile_pic, posts=download_posts)
elif target[0] == '-':
instaloader.download_post(Post.from_shortcode(instaloader.context, target[1:]), target)
elif target[0] == "%":