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

Argument -p does not return the posts #31

Closed
Izayer opened this issue Nov 17, 2020 · 1 comment
Closed

Argument -p does not return the posts #31

Izayer opened this issue Nov 17, 2020 · 1 comment

Comments

@Izayer
Copy link

Izayer commented Nov 17, 2020

python3 main.py -u user -p

Traceback (most recent call last):
File "main.py", line 19, in
post_info()
File "/home/kali/Desktop/osi.ig/.lib/api.py", line 194, in post_info
posts.append(highlight_post_info(x))
File "/home/kali/Desktop/osi.ig/.lib/api.py", line 112, in highlight_post_info
js = x['graphql']['user']['edge_owner_to_timeline_media']['edges'][i]['node']
IndexError: list index out of range

@imshaiknasir
Copy link

python3 main.py -u user -p

Traceback (most recent call last):
File "main.py", line 19, in
post_info()
File "/home/kali/Desktop/osi.ig/.lib/api.py", line 194, in post_info
posts.append(highlight_post_info(x))
File "/home/kali/Desktop/osi.ig/.lib/api.py", line 112, in highlight_post_info
js = x['graphql']['user']['edge_owner_to_timeline_media']['edges'][i]['node']
IndexError: list index out of range

This doesn't work with private account. It only works with public account.

@Izayer Izayer closed this as completed Nov 25, 2020
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

2 participants