ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.72k stars 9.97k forks source link

youtube-dl not downloading twitter videos anymore #10525

Closed idesignedme closed 8 years ago

idesignedme commented 8 years ago

when I try to use

youtube-dl https://twitter.com/TAXSTONE/status/771342844913192960/video/1

I get the following error

[twitter] 771342844913192960: Downloading webpage
[twitter:card] 771342844913192960: Downloading webpage
[twitter:card] 771342844913192960: Downloading m3u8 information
[download] Destination: DADITO CALDERONE - Be Safe Tho-771342844913192960.mp4
avconv version 11.4, Copyright (c) 2000-2014 the Libav developers
  built on Oct 16 2015 09:05:58 with Apple LLVM version 7.0.0 (clang-700.0.72)
https://video.twimg.com/ext_tw_video/771342599718309888/pu/pl/240x240/wb_1xp1hb0PdFWMX.m3u8: Protocol not found

ERROR: ffmpeg exited with code 1

dstftw commented 8 years ago

Post the full output of youtube-dl when run with -v, i.e. add -v flag to your command line, copy the whole output and post it in the issue body wrapped in ``` for better formatting. It should look similar to this:

$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.12.06
[debug] Git HEAD: 135392e
[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...

Do not post screenshots of verbose log only plain text is acceptable.

The output (including the first lines) contains important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.

idesignedme commented 8 years ago

[debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'https://twitter.com/TAXSTONE/status/771342844913192960/video/1'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2016.08.12 [debug] Python version 2.7.10 - Darwin-15.6.0-x86_64-i386-64bit [debug] exe versions: avconv 11.4, avprobe 11.4 [debug] Proxy map: {} [twitter] 771342844913192960: Downloading webpage [twitter:card] 771342844913192960: Downloading webpage [twitter:card] 771342844913192960: Downloading m3u8 information [debug] Invoking downloader on u'https://video.twimg.com/ext_tw_video/771342599718309888/pu/pl/240x240/wb_1xp1hb0PdFWMX.m3u8' [download] Destination: DADITO CALDERONE - Be Safe Tho-771342844913192960.mp4 [debug] avconv command line: avconv -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/*;q=0.8 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome) ' -i https://video.twimg.com/ext_tw_video/771342599718309888/pu/pl/240x240/wb_1xp1hb0PdFWMX.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:DADITO CALDERONE - Be Safe Tho-771342844913192960.mp4.part' avconv version 11.4, Copyright (c) 2000-2014 the Libav developers built on Oct 16 2015 09:05:58 with Apple LLVM version 7.0.0 (clang-700.0.72) https://video.twimg.com/ext_tw_video/771342599718309888/pu/pl/240x240/wb_1xp1hb0PdFWMX.m3u8: Protocol not found

ERROR: ffmpeg exited with code 1
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 433, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 423, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1786, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 702, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 773, in process_ie_result
    new_result, download=download, extra_info=extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 748, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1430, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1694, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1636, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 354, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 43, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 162, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 565, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 527, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
dstftw commented 8 years ago

https://github.com/rg3/youtube-dl/issues/9555 or use --hls-prefer-native.

idesignedme commented 8 years ago

@dstftw thanks that worked but why am I doing this allo of a sudden? I have tried brew upgrade youtube-dl and it told me everything is up to date. this problem occured out of nowhere.

yan12125 commented 8 years ago

If some package in Homebrew depends on avconv, avconv gets installed. This is not a problem of youtube-dl.