Coder Social home page Coder Social logo

Comments (7)

Snbig avatar Snbig commented on August 17, 2024 1

Hi,
Could you add an argument so it would be possible to pass a .txt file containing id numbers of instagram users (one in each line) ?
The script would produce a .txt of usernames

Thank you for your suggestion ❤

List lookup add to code 3cc9882

from instatrack.

 avatar commented on August 17, 2024

And please add a timeout between each api call

from instatrack.

Snbig avatar Snbig commented on August 17, 2024

And please add a timeout between each api call

Is there any limitation on Instagram API call?
I don't understand why you need to set timeout for api call.

from instatrack.

github-userx avatar github-userx commented on August 17, 2024

@Snbig you’re the best for all these updates!! <3

from instatrack.

 avatar commented on August 17, 2024

@Snbig Thanks for the quick update.
Yep, there’s a limit on instagrap api calls, and I’m not sure what is it.
You can try to call some functions 2000 times without timeout, and you will get a messege from instagram “ an error occured please try again later”.
By the way, could add anothet option to export the results as an excel file? First coloumn with user id, and second one with the username

from instatrack.

 avatar commented on August 17, 2024

The script crashed on second run.
I though I would test what would happen if you enter a some active user ids in .txt file and mix those with a user id of temporarily deactivated account.
Here's my input file:

input.txt:

8163012263
11216025632

command used

python InstaTracker.py -f input.txt

output:

C:\Users\Test\Desktop>python InstaTracker.py -f input.txt
Traceback (most recent call last):
File "InstaTracker.py", line 112, in
main()
File "InstaTracker.py", line 75, in main
username = useridToUsername(e)
File "InstaTracker.py", line 45, in useridToUsername
username = json.loads(r3)['data']['user']['reel']['user']['username']
TypeError: 'NoneType' object is not subscriptable

from instatrack.

 avatar commented on August 17, 2024

@Snbig any idea why it crashed?

from instatrack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.