Skip to content

Xpath, script and logical fixes of the new update - #4892

Merged
breuerfelix merged 7 commits into
InstaPy:devfrom
brnskn:dev
Sep 1, 2019
Merged

Xpath, script and logical fixes of the new update#4892
breuerfelix merged 7 commits into
InstaPy:devfrom
brnskn:dev

Conversation

@brnskn

@brnskn brnskn commented Aug 17, 2019

Copy link
Copy Markdown
Contributor

After changing of user agent(iphone x), instagram web page was changed.

Fixed xpaths and logics that make follow_commenters function worked.
Updated the checking of private user logic.
Fixed followers count xpath bug.
Updated the graphql script to get the ProfilePage information.

About the new commit:
I realised that, on some Instagram account, the old "window._sharedData.entry_data.ProfilePage[0]" variable is still working and the new one is not working. That's why I added a backup plan. It checks if "window.__additionalData" is defined, if not it tries to get info with "window._sharedData.entry_data.ProfilePage[0]".

@brnskn brnskn changed the title Fixed follow_commenters() and updated xpaths Fixed follow_commenters(), user private check and updated xpaths Aug 18, 2019
@brnskn brnskn changed the title Fixed follow_commenters(), user private check and updated xpaths Xpath, script and logic fixes of the new update Aug 18, 2019
@brnskn brnskn changed the title Xpath, script and logic fixes of the new update Xpath, script and logical fixes of the new update Aug 18, 2019

@converge converge left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe these small changes will make it better and ready to push to dev.

Comment thread instapy/commenters_util.py Outdated
Comment thread instapy/commenters_util.py Outdated
Comment thread instapy/commenters_util.py
@breuerfelix

breuerfelix commented Aug 30, 2019

Copy link
Copy Markdown
Collaborator

@converge since you started this review, would be cool if you could resolve your changes :)) (when vacation time is over :P)

@breuerfelix
breuerfelix merged commit 7ecfb56 into InstaPy:dev Sep 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants