Fix anonymous retry logic
This commit is contained in:
1 parent
d464396d6e
commit
fa06e90e09
1 file changed
+1
-1
@@ -146,7 +146,7 @@ def _main(instaloader: Instaloader, targetlist: List[str],
|
||||
stories, stories_only, post_filter=post_filter,
|
||||
storyitem_filter=storyitem_filter)
|
||||
except ProfileNotExistsException as err:
|
||||
if not instaloader.context.is_logged_in:
|
||||
if instaloader.context.is_logged_in:
|
||||
instaloader.context.log(err)
|
||||
instaloader.context.log("Trying again anonymously, helps in case you are just blocked.")
|
||||
with instaloader.anonymous_copy() as anonymous_loader:
|
||||
|
||||
Reference in new issue
Block a user