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
132.4k stars 10.04k forks source link

[Dailymotion HLS Video]download error #9694

Closed Rush2088 closed 8 years ago

Rush2088 commented 8 years ago

Hi, I'm getting 403 forbidden error message when trying to download from dailymotion. I'd prefer the download format to be hls-480-1

youtube-dl -f hls-480-1 www.dailymotion.com/embed/video/k5UNm9I6BHepMnd5t4Q

Following is the verbose

C:\scripts>youtube-dl -f hls-480-1 www.dailymotion.com/embed/video/k5UNm9I6BHepMnd5t4Q -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', 'hls-480-1', 'www.dailymotion.com/embed/video/k5UNm9I6BHepMnd5t4Q', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2016.06.02
[debug] Python version 3.4.4 - Windows-8.1-6.3.9600
[debug] exe versions: ffmpeg N-66289-gb76d613, ffprobe N-66289-gb76d613
[debug] Proxy map: {}
[dailymotion] k5UNm9I6BHepMnd5t4Q: Downloading webpage
[dailymotion] k5UNm9I6BHepMnd5t4Q: Downloading m3u8 information
[debug] Invoking downloader on 'https://proxy-13.sg1.dailymotion.com/sec(b8bbb708f80fd98896693d9f35314a3d)/video/487/593/193395784_mp4_h264_aac_h
[download] Destination: MB-17-SEP-15-k5UNm9I6BHepMnd5t4Q.mp4
[debug] ffmpeg command line: ffmpeg -y -headers 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/44.0 (Chrome)
Accept-Encoding: gzip, deflate
Cookie: v1st=99B35F669A03945FFBE0FC1ECBCE4EFC; ts=737912; dmvk=5752e70a2f201
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
' -i 'https://proxy-13.sg1.dailymotion.com/sec(b8bbb708f80fd98896693d9f35314a3d)/video/487/593/193395784_mp4_h264_aac_hq.m3u8#cell=sg1' -c copy -
17-SEP-15-k5UNm9I6BHepMnd5t4Q.mp4.part
ffmpeg version N-66289-gb76d613 Copyright (c) 2000-2014 the FFmpeg developers
  built on Sep 15 2014 22:11:04 with gcc 4.8.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enabl
bass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodpl
opencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enab
able-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable
libx265 --enable-libxavs --enable-libxvid --enable-decklink --enable-zlib
  libavutil      54.  7.100 / 54.  7.100
  libavcodec     56.  1.100 / 56.  1.100
  libavformat    56.  4.101 / 56.  4.101
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  1.100 /  5.  1.100
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
[https @ 00000000042a8a20] HTTP error 403 Forbidden
https://proxy-13.sg1.dailymotion.com/sec(b8bbb708f80fd98896693d9f35314a3d)/video/487/593/193395784_mp4_h264_aac_hq.m3u8#cell=sg1: Input/output er

ERROR: ffmpeg exited with code 1
  File "__main__.py", line 19, in <module>
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\__init__.py", line 421, in main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\__init__.py", line 411, in _real_main
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\YoutubeDL.py", line 1736, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\YoutubeDL.py", line 687, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\YoutubeDL.py", line 733, in process_ie_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\YoutubeDL.py", line 1382, in process_video_result
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\YoutubeDL.py", line 1644, in process_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\YoutubeDL.py", line 1586, in dl
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\downloader\common.py", line 350, in download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\downloader\external.py", line 43, in real_download
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\downloader\common.py", line 161, in report_error
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\YoutubeDL.py", line 550, in report_error
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpqoaker5v\build\youtube_dl\YoutubeDL.py", line 512, in trouble
dstftw commented 8 years ago

ffmpeg issue, this should be reported to them. --hls-prefer-native works fine.