Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
worst format option does not work with dailymotion #7187
Comments
|
i wonder if it is because you have 'Accept-Language: en-us,en;q=0.5 and the file name is french with special characters. la vérité-x28gvoz.mp4 try adding the flag to get rid of characters --restrict-filenames |
|
I'm getting a similar error: the command
Adding The option |
Trying :
youtube-dl -f worst http://www.dailymotion.com/video/x28gvoz_dr-mietzsche-la-verite_school --verbose
I get the following output:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-f', u'worst', u'http://www.dailymotion.com/video/x28gvoz_dr-mietzsche-la-verite_school', u'--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.10.13
[debug] Git HEAD: d984b82
[debug] Python version 2.7.6 - Darwin-14.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.7.1, ffprobe 2.7.1
[debug] Proxy map: {}
[dailymotion] x28gvoz: Downloading webpage
[dailymotion] x28gvoz: Downloading m3u8 information
[debug] Invoking downloader on u'https://www.dailymotion.com/cdn/manifest/video/x28gvoz.m3u8?auth=1445099002-2562-mq981ian-2bd748a64b28eeb9b08cfc0d35035786'
[download] Destination: Dr. Mietzsche - la vérité-x28gvoz.mp4
[debug] ffmpeg command line: ffmpeg -y -headers '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/20.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Cookie: _csrf/link=-lQfkWVpsvV5beyg8PBiRFvTS_vU9xNwJQRJY9K6a7g; sc_ratio=25; mc=null; dmvk=561fd2fab69a2; ts=807151; v1st=058010772C7ABD44B78072A62BC1B09B
' -i 'https://www.dailymotion.com/cdn/manifest/video/x28gvoz.m3u8?auth=1445099002-2562-mq981ian-2bd748a64b28eeb9b08cfc0d35035786' -f mp4 -c copy -bsf:a aac_adtstoasc 'file:Dr. Mietzsche - la vérité-x28gvoz.mp4.part'
ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/2.7.1 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libmp3lame --enable-libvo-aacenc --enable-libxvid --enable-vda
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
[http @ 0x7f8a78f05140] HTTP error 404 Not Found
https://www.dailymotion.com/cdn/manifest/video/x28gvoz.m3u8?auth=1445099002-2562-mq981ian-2bd748a64b28eeb9b08cfc0d35035786: Server returned 404 Not Found
ERROR: ffmpeg exited with code 1
File "/Users/admin/Documents/hec/venv/bin/youtube-dl", line 11, in
sys.exit(main())
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/init.py", line 410, in main
_real_main(argv)
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/init.py", line 400, in _real_main
retcode = ydl.download(all_urls)
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1665, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 671, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 717, in process_ie_result
return self.process_video_result(ie_result, download=download)
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1335, in process_video_result
self.process_info(new_info)
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1597, in process_info
success = dl(filename, info_dict)
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1539, in dl
return fd.download(name, info)
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/downloader/common.py", line 342, in download
return self.real_download(filename, info_dict)
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/downloader/hls.py", line 61, in real_download
self.report_error('%s exited with code %d' % (ffpp.basename, retval))
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/downloader/common.py", line 155, in report_error
self.ydl.report_error(_args, *_kargs)
File "/Users/admin/Documents/hec/venv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 535, in report_error
self.trouble(error_message, tb)
File "/Users/admin/Documents/hecvenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 497, in trouble
tb_data = traceback.format_list(traceback.extract_stack())