Skip to content
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

Stopped working #15

Closed
atenreiro opened this issue Jul 4, 2020 · 10 comments
Closed

Stopped working #15

atenreiro opened this issue Jul 4, 2020 · 10 comments

Comments

@atenreiro
Copy link

Hello,

The script stopped working possible due to Instagram changes in their page.

image

Snbig added a commit that referenced this issue Jul 5, 2020
@Snbig
Copy link
Owner

Snbig commented Jul 5, 2020

Instagram has changed the query_hash page from "ProfilePageContainer.js" to "ConsumerLibCommons.js".
I fixed the issue.
Thank you for your advice.

@atenreiro
Copy link
Author

Hello Snbig,

Still having issues:

image

@Snbig
Copy link
Owner

Snbig commented Jul 5, 2020

Hello Snbig,

Still having issues:

image

I executed the code without any problem.
Your problem is because you are jsondecode "None" object. if "r" value is "None" too, it might you got rate limited or your ip is blacklisted.

@atenreiro
Copy link
Author

Hello,

I've tried with two machines running different Public IP addresses on AWS. None of them works. Removed old InstaTrack and cloned the latest available.

Happy to provide you with any logs that might help the troubleshoot.

@Snbig
Copy link
Owner

Snbig commented Jul 5, 2020

Hello,

I've tried with two machines running different Public IP addresses on AWS. None of them works. Removed old InstaTrack and cloned the latest available.

Happy to provide you with any logs that might help the troubleshoot.

Yes, sure.
As far as i know Instagram has different behavior in various countries.
For troubleshooting the main code:

  1. Is "r" value "None"?
  2. If it is not, what's the stuff?

@atenreiro
Copy link
Author

atenreiro commented Jul 5, 2020

The output that I'm getting using the following command arg: -u instagram

r variable output:
https://pastebin.com/GCfNbBRS

It breaks when doing the comparison:
line 45: if json.loads(r).get("message") == 'rate limited':
`
PS: Is the "r" output expected to be HTML instead of JSON?

@darylkell
Copy link

When using -i , json.loads(r) is now returning {'data': {'viewer': None, 'user': None}, 'status': 'ok'}.
-u still working fine.

@Snbig
Copy link
Owner

Snbig commented Jul 10, 2020

Instagram is limiting the use of its API for not logged in users.
I could fix "useridToUsername".
I'm trying to fix "usernameToUserId" too.

@atenreiro
Copy link
Author

Instagram is limiting the use of its API for not logged in users.
I could fix "useridToUsername".
I'm trying to fix "usernameToUserId" too.

Let me know if you need a Tester

@mos3b-faqeeh
Copy link

useridToUsername still getting error (page not found).

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

No branches or pull requests

4 participants