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 videos not downloading #22756

Closed
witedragen opened this issue Oct 18, 2019 · 1 comment
Closed

Twitter videos not downloading #22756

witedragen opened this issue Oct 18, 2019 · 1 comment

Comments

@witedragen
Copy link

@witedragen witedragen commented Oct 18, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.10.16
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

$ youtube-dl -v 'https://twitter.com/UnusualVideos/status/1184605853803929600'
[debug] System config: ['--write-annotations', '--write-description', '--write-info-json', '--write-all-thumbnails', '--format', 'bestvideo+bestaudio/best', '--merge-output-format', 'mkv', '--youtube-skip-dash-manifest', '--external-downloader=aria2c', '--prefer-ffmpeg', '-i']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://twitter.com/UnusualVideos/status/1184605853803929600']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.10.16
[debug] Python version 3.7.4 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[twitter] 1184605853803929600: Downloading webpage
[twitter:card] 1184605853803929600: Downloading webpage
[twitter:card] 1184605853803929600: Downloading guest token
[twitter:card] 1184605853803929600: Downloading JSON metadata
[twitter:card] 1184605853803929600: Downloading m3u8 information
ERROR: Failed to download m3u8 information: <urlopen error [Errno 0] Error> (caused by URLError(OSError(0, 'Error')))
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2237, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 543, in _open
    '_open', req)
  File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.7/site-packages/youtube_dl/utils.py", line 2724, in https_open
    req, **kwargs)
  File "/usr/local/Cellar/python/3.7.4_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1319, in do_open
    raise URLError(err)

Description

Twitter downloads do not work. Not much else to say tbqh. Does the same error on every video I tried

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Oct 18, 2019

youtube-dl https://twitter.com/UnusualVideos/status/1184605853803929600
[twitter] 1184605853803929600: Downloading webpage
[twitter:card] 1184605853803929600: Downloading webpage
[twitter:card] 1184605853803929600: Downloading guest token
[twitter:card] 1184605853803929600: Downloading JSON metadata
[twitter:card] 1184605853803929600: Downloading m3u8 information
[download] Destination: Unusual Videos 🤔 - https -_t.co_tBx9cOQMxU-1184605853803929600.mp4
ffmpeg version n4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.1.0 (GCC)
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[hls @ 0x5588c5aeb340] Skip ('#EXT-X-VERSION:6')
[hls @ 0x5588c5aeb340] Skip ('#EXT-X-ALLOW-CACHE:YES')
[hls @ 0x5588c5aeb340] Opening 'https://video.twimg.com/ext_tw_video/1184605820815695872/pu/vid/0/3000/360x360/-HHKR9eZcO-Eoay1.ts' for reading
[hls @ 0x5588c5aeb340] Opening 'https://video.twimg.com/ext_tw_video/1184605820815695872/pu/vid/3000/6000/360x360/9FlYyzN2rCCELkSA.ts' for reading
Input #0, hls, from 'https://video.twimg.com/ext_tw_video/1184605820815695872/pu/pl/360x360/sMFqsAAH-kp42YwF.m3u8':
  Duration: 00:00:29.37, start: 3.000000, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 360x360, 30 fps, 30 tbr, 90k tbn, 60 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, mono, fltp
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:Unusual Videos 🤔 - https -_t.co_tBx9cOQMxU-1184605853803929600.mp4.part':
  Metadata:
    encoder         : Lavf58.29.100
    Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 360x360, q=2-31, 30 fps, 30 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[https @ 0x5588c612a200] Opening 'https://video.twimg.com/ext_tw_video/1184605820815695872/pu/vid/6000/9000/360x360/l992U8bf95cNLpsj.ts' for reading
[https @ 0x5588c5b94880] Opening 'https://video.twimg.com/ext_tw_video/1184605820815695872/pu/vid/9000/12000/360x360/ALkBT9a3UR2ow_Fh.ts' for reading
frame=  180 fps=0.0 q=-1.0 size=       0kB time=00:00:05.99 bitrate=   0.1kbits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

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