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

twitter unexpected error JSONDecodeError #2224

Closed
Freako76 opened this issue Jan 24, 2022 · 2 comments
Closed

twitter unexpected error JSONDecodeError #2224

Freako76 opened this issue Jan 24, 2022 · 2 comments

Comments

@Freako76
Copy link

error.txt
so I was trying to casually download another profile's content, and then the second time this happened (even on my phone on termux) so idk why is it not working now

(just in case the txt file doesn't work)
[gallery-dl][debug] Version 1.19.2
[gallery-dl][debug] Python 3.7.9 - Windows-10-10.0.22000
[gallery-dl][debug] requests 2.25.1 - urllib3 1.25.11
[gallery-dl][debug] Starting DownloadJob for 'https://twitter.com/Vinnegal?s=20'
[twitter][debug] Using TwitterTimelineExtractor for 'https://twitter.com/Vinnegal?s=20'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): twitter.com:443
[urllib3.connectionpool][debug] https://twitter.com:443 "GET /i/api/graphql/hc-pka9A7gyS3xODIafnrQ/UserByScreenName?variables=%7B%22screen_name%22%3A%22Vinnegal%22%2C%22withHighlightedLabel%22%3Atrue%7D HTTP/1.1" 200 1122
[urllib3.connectionpool][debug] https://twitter.com:443 "GET /i/api/2/timeline/profile/1224070135675346944.json?include_profile_interstitial_type=1&include_blocking=1&include_blocked_by=1&include_followed_by=1&include_want_retweets=1&include_mute_edge=1&include_can_dm=1&include_can_media_tag=1&skip_status=1&cards_platform=Web-12&include_cards=1&include_ext_alt_text=true&include_quote_count=true&include_reply_count=1&tweet_mode=extended&include_entities=true&include_user_entities=true&include_ext_media_color=true&include_ext_media_availability=true&send_error_codes=true&simple_quoted_tweet=true&count=100&ext=mediaStats%2ChighlightedLabel&include_tweet_replies=false HTTP/1.1" 429 0
[twitter][error] An unexpected error occurred: JSONDecodeError - Expecting value: line 1 column 1 (char 0). Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[twitter][debug]
Traceback (most recent call last):
File "gallery_dl\job.pyc", line 80, in run
File "gallery_dl\extractor\twitter.pyc", line 59, in items
File "gallery_dl\extractor\twitter.pyc", line 846, in _pagination
File "gallery_dl\extractor\twitter.pyc", line 793, in call
File "requests\models.pyc", line 900, in json
File "json_init
.pyc", line 348, in loads
File "json\decoder.pyc", line 337, in decode
File "json\decoder.pyc", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@mikf
Copy link
Owner

mikf commented Jan 24, 2022

Duplicate of #2212.
This is fixed in the latest release.

@mikf mikf closed this as completed Jan 24, 2022
@mikf mikf added the duplicate label Jan 24, 2022
@Freako76
Copy link
Author

Duplicate of #2212. This is fixed in the latest release.

oh ok thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants