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

[downloader.ytdl] Could not send HEAD request #540

Closed
kattjevfel opened this issue Dec 25, 2019 · 0 comments
Closed

[downloader.ytdl] Could not send HEAD request #540

kattjevfel opened this issue Dec 25, 2019 · 0 comments
Labels

Comments

@kattjevfel
Copy link
Contributor

I'm getting this error with a specific user on twitter, only when using extractor.twitter.videos="ytdl".

~ » gallery-dl --verbose --ignore-config -o extractor.twitter.videos="ytdl" https://twitter.com/NatTheTraveler/status/1209759533620289537 
[gallery-dl][debug] Version 1.12.1
[gallery-dl][debug] Python 3.8.1 - Linux-5.4.6-zen3-1-zen-x86_64-with-glibc2.2.5
[gallery-dl][debug] requests 2.22.0 - urllib3 1.25.7
[gallery-dl][debug] Starting DownloadJob for 'https://twitter.com/NatTheTraveler/status/1209759533620289537'
[twitter][debug] Using TwitterTweetExtractor for 'https://twitter.com/NatTheTraveler/status/1209759533620289537'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): twitter.com:443
[urllib3.connectionpool][debug] https://twitter.com:443 "GET /i/web/status/1209759533620289537 HTTP/1.1" 200 76822
[downloader.ytdl][debug] [generic] 1209759533620289537: Requesting header
[downloader.ytdl][warning] Could not send HEAD request to https://twitter.com/{'name': 'NatTheTraveler', 'nick': '나트[Nat/ナート]NEXT➡️FurryJoA🇰🇷', 'id': 767727384208388096}/status/1209759533620289537: HTTP Error 400: Bad Request
[downloader.ytdl][debug] [generic] 1209759533620289537: Downloading webpage
[downloader.ytdl][error] ERROR: Unable to download webpage: HTTP Error 400: Bad Request (caused by <HTTPError 400: 'Bad Request'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
[download][error] Failed to download ytdl:https://twitter.com/{'name': 'NatTheTraveler', 'nick': '나트[Nat/ナート]NEXT➡️FurryJoA🇰🇷', 'id': 767727384208388096}/status/1209759533620289537

Downloading the video directly with youtube-dl works just fine.

@mikf mikf closed this as completed in 896896a Dec 25, 2019
@mikf mikf added the bug label Dec 25, 2019
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