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

ARD - HTTP Error 404: Not Found #18123

Closed
triangulum opened this issue Nov 9, 2018 · 5 comments
Closed

ARD - HTTP Error 404: Not Found #18123

triangulum opened this issue Nov 9, 2018 · 5 comments
Labels

Comments

@triangulum
Copy link

@triangulum triangulum commented Nov 9, 2018

Running the latest version: 2018.11.07. I can watch the video via a web browser, but cannot download via youtube-dl.

The video:

The command was:

youtube-dl -F https://www.ardmediathek.de/tv/30-Favoriten/50-Gr%C3%BCnde-Wien-zu-lieben/rbb-Fernsehen/Video?bcastId=17399976&documentId=57321760

And the log is:

$ [debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-vF', u'https://www.ardmediathek.de/tv/30-Favoriten/50-Gr%C3%BCnde-Wien-zu-lieben/rbb-Fernsehen/Video?bcastId=17399976']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.11.07
[debug] Python version 2.7.5 (CPython) - Linux-3.10.0-862.14.4.el7.x86_64-x86_64-with-centos-7.5.1804-Core
[debug] exe versions: ffmpeg N-89948-ge3d946b3f4-static, ffprobe N-89948-ge3d946b3f4-static
[debug] Proxy map: {}
[ARD:mediathek] Video: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 605, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 469, in error
    result = self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 656, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 437, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 550, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 475, in error
    return self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 558, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
@dstftw dstftw closed this Nov 9, 2018
@dstftw dstftw added the invalid label Nov 9, 2018
@triangulum
Copy link
Author

@triangulum triangulum commented Nov 9, 2018

Ah, well that was silly! Might be worth adding a message to the CLI, with a simple troubleshooting step.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 9, 2018

Again: it's not a youtube-dl issue and it can't know whether you forgot to escape & or not making it impossible to guess when to write such a message.

@triangulum
Copy link
Author

@triangulum triangulum commented Nov 9, 2018

That's true - I suppose it's good practice to use single quotes in general, to disable the function of any special characters.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 9, 2018

While using shell-specific quotes is a good practice, using single quotes won't work in some shells.

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.