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]KeyError - 'media_entities' #6647

Open
maplestory03 opened this issue Dec 11, 2024 · 0 comments
Open

[twitter]KeyError - 'media_entities' #6647

maplestory03 opened this issue Dec 11, 2024 · 0 comments
Labels

Comments

@maplestory03
Copy link

F:\admin\Downloads\TWD\TWD-rion>gallery-dl -C F:\admin\Downloads\TWD\0cookies\cookies.txt --write-log ../log/fw_rion-rtqore.log -A 50 -D ./fw_rion -o archive="./sqlite/fw_rion-rtqore.sqlite3" -c ./config/fw_rion-rtqore.conf --verbos https://twitter.com/fw_rion_
[gallery-dl][debug] Version 1.28.1 - Executable (stable/windows)
[gallery-dl][debug] Python 3.8.10 - Windows-10-10.0.19045
[gallery-dl][debug] requests 2.32.3 - urllib3 2.2.3
[gallery-dl][debug] Configuration Files ['F:\\admin\\Downloads\\TWD\\gallery-dl.conf', './config/fw_rion-rtqore.conf']
[gallery-dl][debug] Starting DownloadJob for 'https://twitter.com/fw_rion_'
[twitter][debug] Using TwitterUserExtractor for 'https://twitter.com/fw_rion_'
[twitter][debug] Using TwitterTimelineExtractor for 'https://x.com/fw_rion_/timeline'
[twitter][debug] Loading cookies from 'F:\admin\Downloads\TWD\0cookies\cookies.txt'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): x.com:443
[urllib3.connectionpool][debug] https://x.com:443 "GET /i/api/graphql/k5XapwcSikNsEsILW5FvgA/UserByScreenName?variables=%7B%22screen_name%22%3A%22fw_rion_%22%2C%22withSafetyModeUserFields%22%3Atrue%7D&features=%7B%22hidden_profile_likes_enabled%22%3Atrue%2C%22hidden_profile_subscriptions_enabled%22%3Atrue%2C%22responsive_web_graphql_exclude_directive_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Afalse%2C%22highlights_tweets_tab_ui_enabled%22%3Atrue%2C%22responsive_web_twitter_article_notes_tab_enabled%22%3Atrue%2C%22creator_subscriptions_tweet_preview_api_enabled%22%3Atrue%2C%22responsive_web_graphql_skip_user_profile_image_extensions_enabled%22%3Afalse%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22subscriptions_verification_info_is_identity_verified_enabled%22%3Atrue%2C%22subscriptions_verification_info_verified_since_enabled%22%3Atrue%7D HTTP/11" 200 961
[urllib3.connectionpool][debug] https://x.com:443 "GET /i/api/graphql/5ICa5d9-AitXZrIA3H-4MQ/UserTweets?variables=%7B%22userId%22%3A%221204548279817519110%22%2C%22count%22%3A100%2C%22includePromotedContent%22%3Afalse%2C%22withQuickPromoteEligibilityTweetFields%22%3Atrue%2C%22withVoice%22%3Atrue%2C%22withV2Timeline%22%3Atrue%7D&features=%7B%22responsive_web_graphql_exclude_directive_enabled%22%3Atrue%2C%22verified_phone_label_enabled%22%3Afalse%2C%22creator_subscriptions_tweet_preview_api_enabled%22%3Atrue%2C%22responsive_web_graphql_timeline_navigation_enabled%22%3Atrue%2C%22responsive_web_graphql_skip_user_profile_image_extensions_enabled%22%3Afalse%2C%22c9s_tweet_anatomy_moderator_badge_enabled%22%3Atrue%2C%22tweetypie_unmention_optimization_enabled%22%3Atrue%2C%22responsive_web_edit_tweet_api_enabled%22%3Atrue%2C%22graphql_is_translatable_rweb_tweet_is_translatable_enabled%22%3Atrue%2C%22view_counts_everywhere_api_enabled%22%3Atrue%2C%22longform_notetweets_consumption_enabled%22%3Atrue%2C%22responsive_web_twitter_article_tweet_consumption_enabled%22%3Atrue%2C%22tweet_awards_web_tipping_enabled%22%3Afalse%2C%22freedom_of_speech_not_reach_fetch_enabled%22%3Atrue%2C%22standardized_nudges_misinfo%22%3Atrue%2C%22tweet_with_visibility_results_prefer_gql_limited_actions_policy_enabled%22%3Atrue%2C%22rweb_video_timestamps_enabled%22%3Atrue%2C%22longform_notetweets_rich_text_read_enabled%22%3Atrue%2C%22longform_notetweets_inline_media_enabled%22%3Atrue%2C%22responsive_web_media_download_video_enabled%22%3Atrue%2C%22responsive_web_enhance_cards_enabled%22%3Afalse%7D HTTP/11" 200 20464
[twitter][error] An unexpected error occurred: KeyError - 'media_entities'. 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 151, in run
  File "gallery_dl\extractor\twitter.pyc", line 129, in items
  File "gallery_dl\extractor\twitter.pyc", line 249, in _extract_card
KeyError: 'media_entities'
@mikf mikf added the site:bug label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants