Snbig / InstaTrack

Convert Instagram user ID to username & vice versa

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when using FindUserID

nzec opened this issue · comments

Running $ python3 InstaTracker.py -i <19 character UserID> gives the error:

Traceback (most recent call last):
  File "E:\Instaloader\InstaTracker.py", line 138, in <module>
    main()
  File "E:\Instaloader\InstaTracker.py", line 121, in main
    username = useridToUsername(args.id)
  File "E:\Instaloader\InstaTracker.py", line 58, in useridToUsername
    checkTokens()
  File "E:\Instaloader\InstaTracker.py", line 18, in checkTokens
    getTokens()
  File "E:\Instaloader\InstaTracker.py", line 28, in getTokens
    query_hash = re.findall(r'{value:!0}\);var s=\"(.*?)\"', r)[0]
IndexError: list index out of range

I am running the program on Python3.8.

I am really sorry if I am doing something really stupid. I am not at all comfortabe with Python

See 43d83c7#r36071017


New commit fixed the issue f22f1d3