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 snippetCorectedyou 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: