InstaLooter icon indicating copy to clipboard operation
InstaLooter copied to clipboard

KeyError: 'PostPage'

Open cmoztas opened this issue 4 years ago • 6 comments

Library version

What's the installed library version ? Check with instalooter --version:

instalooter v2.4.4

Environment

Describe here your environment, including:

  • Windows 10 x64 Pro
  • Python 3.9.0

Error description

Traceback (most recent call last): File "tkinter_init_.py", line 1885, in call File "C:\Users\cmozt\Desktop\InstaTracker\main.py", line 81, in download_all_post File "instalooter\looters.py", line 370, in download_pictures File "instalooter\looters.py", line 469, in download File "instalooter\looters.py", line 620, in _fill_media_queue File "instalooter\looters.py", line 350, in get_post_info KeyError: 'PostPage'

Expected behaviour

Profillooter fails. At first I thought it was due to punctuation, but I get the same error with all usernames I try while using API.

As a matter of fact, I have not used the program I wrote in about 1 month. But with the same codes, I used my program with your API for 5 months.

Now I don't understand what's wrong.

cmoztas avatar Dec 11 '20 10:12 cmoztas

Same problem here.

edusachs avatar Dec 29 '20 22:12 edusachs

Same issue for me.

rakemen avatar Jan 01 '21 13:01 rakemen

Same here. Or getting user not found.

ghost avatar Jan 09 '21 21:01 ghost

Same problem here. It seems to be this thing is not properly working anymore. I fixed more errors along the way right before the beginning of the installation, and now the experience is getting more like instaLooser.

youtube-dl can't download Instagram TV videos as well, please, prove that I am wrong!

aalliikk avatar Feb 13 '21 17:02 aalliikk

Same here:

from instalooter.looters import PostLooter
code= 'CLt6RG7pfqk'
looter= PostLooter(code)
d_media = looter.get_post_info(code)

yields

Traceback (most recent call last): File "/home/john/python-code/webAPI/social_media/proj/qa/instaloot.py", line 4, in d_media = looter.get_post_info(code) File "/home/john/.virtualenvs/proj/lib/python3.8/site-packages/instalooter/looters.py", line 350, in get_post_info if 'graphql' in data['entry_data']['PostPage'][0]: KeyError: 'PostPage'

dekiesel avatar Mar 15 '21 12:03 dekiesel

Same here

robml avatar Jul 19 '21 19:07 robml