You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Downloading saved posts is currently broken.
Profile.get_saved_posts() or cli :saved gets redirected to www_instagram_com ( from /graphql/query/? endpoint ) and throws a "JSON Query to graphql/query: Expecting value: line 1 column 1 (char 0)" error.
To Reproduce
Steps to reproduce the behavior:
(instadownloader-py3.12) ➜ instadownloader git:(main) ✗ instaloader --version
4.11
(instadownloader-py3.12) ➜ instadownloader git:(main) ✗ instaloader -b brave :saved
Cookies loaded successfully from brave
Query to https://www.instagram.com/graphql/query {'query_hash': 'd6f4427fbe92d846298cf93df0b937d3', 'variables': '{}'}
XXX has been successfully logged in.
Next: Run instaloader --login=XXX as it is required to download
high quality media and to make full use of instaloader's features.
Retrieving saved posts...
Query to https://www.instagram.com/graphql/query {'query_hash': 'd6f4427fbe92d846298cf93df0b937d3', 'variables': '{}'}
Query to https://www.instagram.com/graphql/query {'query_hash': 'f883d95537fbcd400f466f63d42bd8a1', 'variables': '{"id":XXX,"first":50}'}
HTTP redirect from https://www.instagram.com/graphql/query to https://www.instagram.com/
JSON Query to graphql/query: Expecting value: line 1 column 1 (char 0) [retrying; skip with ^C]
Expecting value: line 1 column 1 (char 0) (attempt 1/3) graphql/query {'query_hash': 'f883d95537fbcd400f466f63d42bd8a1', 'variables': '{"id":XXX,"first":50}'} www.instagram.com
Query to https://www.instagram.com/graphql/query {'query_hash': 'f883d95537fbcd400f466f63d42bd8a1', 'variables': '{"id":XXX,"first":50}'}
HTTP redirect from https://www.instagram.com/graphql/query to https://www.instagram.com/
JSON Query to graphql/query: Expecting value: line 1 column 1 (char 0) [retrying; skip with ^C]
Expecting value: line 1 column 1 (char 0) (attempt 2/3) graphql/query {'query_hash': 'f883d95537fbcd400f466f63d42bd8a1', 'variables': '{"id":XXX,"first":50}'} www.instagram.com
Query to https://www.instagram.com/graphql/query {'query_hash': 'f883d95537fbcd400f466f63d42bd8a1', 'variables': '{"id":XXX,"first":50}'}
HTTP redirect from https://www.instagram.com/graphql/query to https://www.instagram.com/
:saved: JSON Query to graphql/query: Expecting value: line 1 column 1 (char 0)
Saved session to /Users/vargat/.config/instaloader/session-XXX.
Errors or warnings occurred:
:saved: JSON Query to graphql/query: Expecting value: line 1 column 1 (char 0)
(instadownloader-py3.12) ➜ instadownloader git:(main) ✗
Expected behavior
When calling instaloader with :saved , it should download all saved post from the logged in user.
Error messages and tracebacks
Please see repr. steps
Describe the bug
Downloading saved posts is currently broken.
Profile.get_saved_posts() or cli :saved gets redirected to www_instagram_com ( from /graphql/query/? endpoint ) and throws a "JSON Query to graphql/query: Expecting value: line 1 column 1 (char 0)" error.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When calling instaloader with :saved , it should download all saved post from the logged in user.
Error messages and tracebacks
Please see repr. steps
Instaloader version
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: