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

Unable to download a tweeted video from Twitter on the web #16609

Closed
explorest opened this issue Jun 1, 2018 · 5 comments
Closed

Unable to download a tweeted video from Twitter on the web #16609

explorest opened this issue Jun 1, 2018 · 5 comments
Labels

Comments

@explorest
Copy link

@explorest explorest commented Jun 1, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.06.02. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • [x ] I've verified and I assure that I'm running youtube-dl 2018.06.02

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


$ youtube-dl --verbose https://twitter.com/AlifAilaan/status/1001523575386341376
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://twitter.com/AlifAilaan/status/1001523575386341376']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.06.02
[debug] Python version 3.6.5 (CPython) - Linux-4.16.12-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 4.0, ffprobe 4.0, rtmpdump 2.4
[debug] Proxy map: {}
[twitter] 1001523575386341376: Downloading webpage
[twitter:card] 1001523575386341376: Downloading webpage
[twitter:card] 1001523575386341376: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 429: Too Many Requests (caused by <HTTPError 429: 'Too Many Requests'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 579, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2211, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python3.6/urllib/request.py", line 532, in open
response = meth(req, response)
File "/usr/lib/python3.6/urllib/request.py", line 642, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.6/urllib/request.py", line 570, in error
return self._call_chain(*args)
File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain
result = func(*args)
File "/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)


Description of your issue, suggested solution and other information

The issue only occurs with Twitter ; Facebook and Youtube work fine. All tweet urls containing a tweeted video give the same error.

@filler56789
Copy link

@filler56789 filler56789 commented Jun 1, 2018

I confirm the problem. I'm also using the latest youtube-dl under x64 Windows 7. I suppose /assume Twitter changed something during this week, because I could download some videos from Twitter three or four days ago and reverting to the previous build(s) of youtube-dl doesn't work.

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Jun 1, 2018

FWIW....if you run YouTube-DL against the direct video mentioned above it does download correctly:
https://video.twimg.com/amplify_video/1001498432052350976/pl/1280x720/dG4ypLu7EKJV5o6E.m3u8

So I guess it is an embed issue? @

@BlohoJo
Copy link

@BlohoJo BlohoJo commented Jun 2, 2018

I'm seeing the issue as well.

E:\USER\temp_ytdl>youtube-dl --verbose "https://twitter.com/electrolemon/status/
971208968323280896"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://twitter.com/electrolemon/statu
s/971208968323280896']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.06.02
[debug] Python version 3.4.4 (CPython) - Windows-2008ServerR2-6.1.7601-SP1
[debug] exe versions: ffmpeg N-89595-g40d4b13228, ffprobe N-89595-g40d4b13228, r
tmpdump 2.4-20151223-gfa8646d-OpenSSL_1.0.2n-x86_64-static
[debug] Proxy map: {}
[twitter] 971208968323280896: Downloading webpage
[twitter:card] 971208968323280896: Downloading webpage
[twitter:card] 971208968323280896: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 429: Too Many Requests (caus
ed by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sur
e you are using the latest version; type  youtube-dl -U  to update. Be sure to c
all youtube-dl with the --verbose flag and include its complete output.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp2pwxs9zy\bu
ild\youtube_dl\extractor\common.py", line 579, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp2pwxs9zy\bu
ild\youtube_dl\YoutubeDL.py", line 2211, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_defau
lt

The video is actually not playing on Twitter, and when I look at the uBlock log, I don't see any video.twimg or m3u8 links, so it may actually be an issue with the Twitter site itself?

It does work on a third party twitter video download website.

@Hrxn
Copy link

@Hrxn Hrxn commented Jun 2, 2018

Well, HTTP Error 429: Too Many Requests, should be a temporary issue then.

@filler56789
Copy link

@filler56789 filler56789 commented Jun 3, 2018

Hrxn wrote:

Well, HTTP Error 429: Too Many Requests, should be a temporary issue then.

Keep in mind that error messages often do NOT mean what they say.

@dstftw dstftw added the fixed label Jun 3, 2018
@dstftw dstftw closed this in b6b2ccb Jun 3, 2018
@ytdl-org ytdl-org deleted a comment from TrueBlueFrog Jun 3, 2018
@ytdl-org ytdl-org locked as resolved and limited conversation to collaborators Jun 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.