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

error while downloading twitter acc #2217

Closed
veneamin opened this issue Jan 22, 2022 · 1 comment
Closed

error while downloading twitter acc #2217

veneamin opened this issue Jan 22, 2022 · 1 comment

Comments

@veneamin
Copy link

gallery-dl.exe --verbose https://twitter.com/kawa_ii_uso
[gallery-dl][debug] Version 1.19.3
[gallery-dl][debug] Python 3.7.9 - Windows-10-10.0.19041
[gallery-dl][debug] requests 2.25.1 - urllib3 1.25.11
[gallery-dl][debug] Starting DownloadJob for 'https://twitter.com/kawa_ii_uso'
[twitter][debug] Using TwitterTimelineExtractor for 'https://twitter.com/kawa_ii_uso'
[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%22kawa_ii_uso%22%2C%22withHighlightedLabel%22%3Atrue%7D HTTP/1.1" 200 1237
[urllib3.connectionpool][debug] https://twitter.com:443 "GET /i/api/2/timeline/profile/980820228534714368.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%2ChighlightedLa
bel&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 79, in run
File "gallery_dl\extractor\twitter.pyc", line 61, in items
File "gallery_dl\extractor\twitter.pyc", line 857, in _pagination
File "gallery_dl\extractor\twitter.pyc", line 799, 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)

@kattjevfel
Copy link
Contributor

Duplicate of #2214 and #2212, the fix is in the latest dev version so either use that (see https://github.com/mikf/gallery-dl#pip) or wait for a new release. Also your current version is outdated.

@mikf mikf added the duplicate label Jan 22, 2022
@mikf mikf closed this as completed Jan 22, 2022
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

3 participants