Instaloader: KeyError: 'user' when downloading profile

Created on 14 Mar 2018  路  1Comment  路  Source: instaloader/instaloader

Hi after the new update I receive this error no matter what I try.

Traceback (most recent call last):
File "/home/ad/.local/bin/instaloader", line 9, in
load_entry_point('instaloader==3.3', 'console_scripts', 'instaloader')()
File "/home/ad/.local/lib/python3.5/site-packages/instaloader.py", line 1742, in main
filter_str=args.only_if)
File "/home/ad/.local/lib/python3.5/site-packages/instaloader.py", line 1568, in main
filter_func=filter_func)
File "/home/ad/.local/lib/python3.5/site-packages/instaloader.py", line 1428, in download_profile
name_updated, profile_id = self.check_profile_id(name, profile_metadata)
File "/home/ad/.local/lib/python3.5/site-packages/instaloader.py", line 1353, in check_profile_id
(profile_id != int(profile_metadata['user']['id'])):
KeyError: 'user'

Thanks!

bug

Most helpful comment

Hi. Thanks for reporting! Instagram changed some metadata structures, which caused Instaloader to break.
Commit 83b3117 fixes this bug. We do some further double-checking and then release version 3.3.1.

>All comments

Hi. Thanks for reporting! Instagram changed some metadata structures, which caused Instaloader to break.
Commit 83b3117 fixes this bug. We do some further double-checking and then release version 3.3.1.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tehgarra picture tehgarra  路  4Comments

annanny picture annanny  路  3Comments

psonnosp picture psonnosp  路  3Comments

aaasddd picture aaasddd  路  4Comments

rourpab picture rourpab  路  3Comments