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

Program throws errors #8

Open
ling-nyc opened this issue Aug 22, 2022 · 3 comments
Open

Program throws errors #8

ling-nyc opened this issue Aug 22, 2022 · 3 comments

Comments

@ling-nyc
Copy link

Command ran: python3 main.py -u (username)

Python on version 3.10.5, running on Kali Linux

[+] getting profile ...Traceback (most recent call last):
  File "/home/kali/SoIG/main.py", line 19, in <module>
    ig = main(user=args["username"])
  File "/home/kali/SoIG/api/api.py", line 64, in __init__
    self.get_profile()
  File "/home/kali/SoIG/api/api.py", line 76, in get_profile
    self.data = json.loads(more_data[3].get_text()[21:].strip(";"))
IndexError: list index out of range
@finalsecure
Copy link

Same issue... @yezz123 ??

@Oraclis
Copy link

Oraclis commented Apr 11, 2023

same here

@RiteshSec
Copy link

RiteshSec commented Sep 2, 2023

Hi has anyone found a solution for this issue?

The HTML content of an Instagram user page I see that there is no element with attribute type having value as text/javascript.

Hence there will be no items in more_data array in api.py file and hence the error. This might be because Instagram has updated its website format.

@yezz123 can you check the new format and update the code accordingly?

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