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.32k stars 9.95k forks source link

Download from ARD Mediathek fail #13265

Closed ds2k5 closed 7 years ago

ds2k5 commented 7 years ago

URL: http://mediathek.daserste.de/Hubert-und-Staller/Folge-61-Tod-an-Loch-6/Video?bcastId=32325502&documentId=43214932

[1]+ Exit 1 youtube-dl http://mediathek.daserste.de/Hubert-und-Staller/Folge-61-Tod-an-Loch-6/Video?bcastId=32325502 [schneckd@localhost ~]$ youtube-dl --verbose http://mediathek.daserste.de/Hubert-und-Staller/Folge-61-Tod-an-Loch-6/Video?bcastId=32325502&documentId=43214932 [1] 2406 [user1@localhost ~]$ [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--verbose', 'http://mediathek.daserste.de/Hubert-und-Staller/Folge-61-Tod-an-Loch-6/Video?bcastId=32325502'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2017.05.23 [debug] Python version 3.6.1 - Linux-4.9.30-1-MANJARO-x86_64-with-glibc2.3.4 [debug] exe versions: ffmpeg 3.3.1, ffprobe 3.3.1, rtmpdump 2.4 [debug] Proxy map: {} [ARD:mediathek] Video: Downloading webpage ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. File "/usr/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 502, in _request_webpage return self._downloader.urlopen(url_or_request) File "/usr/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2106, 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 564, in error result = 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 756, in http_error_302 return self.parent.open(new, timeout=req.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)

$ youtube-dl --version 2017.05.23

dstftw commented 7 years ago

You have to either put the URL into quotes or manually escape all the special shell characters. Read FAQ entry for details.