althonos / InstaLooter

Another API-less Instagram pictures and videos downloader.
GNU General Public License v3.0
2.01k stars 256 forks source link

KeyError: 'PostPage' #311

Open cmoztas opened 3 years ago

cmoztas commented 3 years ago

Library version

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

instalooter v2.4.4

Environment

Describe here your environment, including:

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.

edusachs commented 3 years ago

Same problem here.

rakemen commented 3 years ago

Same issue for me.

ghost commented 3 years ago

Same here. Or getting user not found.

aalliikk commented 3 years ago

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!

dekiesel commented 3 years ago

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'

robml commented 3 years ago

Same here