-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
fixing errors with bug and new ui #54
Conversation
It's still a draft. :D Don't approve it yet |
This ended up being a mixed grab bag of fixes and the commit will be fixed in the squash, here is the recap:
|
GramAddict/core/interaction.py
Outdated
FOLLOW_REGEX = "Follow|Follow Back" | ||
UNFOLLOW_REGEX = "Following|Requested" | ||
BUTTON_REGEX = "android.widget.Button" | ||
FOLLOW_REGEX = "^Follow|^Follow Back" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow Back is unnecessary since Follow will already match it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair - that was just how it was originally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had a comment but is not critical. You can remove this in another future commit.
- The old method used an identifier that no longer exists (thanks IG) - The old method used unneeded logic to determine if it was a block dialog - The new method just looks for another unfollow button (technically TextView) and clicks it if it's there - Still does followup check for block dialog Tested using force_interact on a private account I followed.
- the original removal broke the regex for follow back - in breaking follow back, I realized we actually follow back? That doesn't make sense. The point of following and liking people is to gain followers.
No description provided.