-
-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix #379 #407
base: master
Are you sure you want to change the base?
fix #379 #407
Conversation
…back to the first following username after the end of list GramAddict#379 - add username duplicated check in the loop and exit out when seeing more than 3 usernames that appear previously.
…me loop back to the first following username after the end of list GramAddict#379" This reverts commit 9d334f3.
…back to the first following username after the end of list GramAddict#379 - add username duplicated check in the loop and exit out when seeing more than 3 usernames that appear previously.
Specifically, the seen_user_count is reset to 0 for each item in user_list inside the loop, which means it will always be either 0 or 1 and never accumulate across iterations. This effectively makes the threshold check with seen_user_threshold meaningless. @kenpyfin |
Problematic snippet
Corectedyou should put seen_user_count = 0 before the while True: loop I have uploaded the corrected code :) |
When scrolling down the following list, if you reach the end and continue to scroll, it shows the following users from the beginning but only one or two at the bottom of the page. The That's my understanding of the code. |
Description
Unfollow job runs into unlimited loop due to Instagrame loop back to the first following username after the end of list #379
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: