Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

Commit

Permalink
Merge pull request #107 from freegarlico-in/master
Browse files Browse the repository at this point in the history
adding random_sleep() before username check to fix #106
  • Loading branch information
alexal1 authored Sep 12, 2020
2 parents 4f6adbd + 586ef4b commit c9c8d42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/action_handle_blogger.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ def _open_user_followers(device, username):
username_view = device.find(resourceId='com.instagram.android:id/row_search_user_username',
className='android.widget.TextView',
text=username)


random_sleep()
if not username_view.exists():
print_timeless(COLOR_FAIL + "Cannot find user @" + username + ", abort." + COLOR_ENDC)
return False
Expand Down

0 comments on commit c9c8d42

Please sign in to comment.