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

HTTP error on a viewable multifeed Youtube video #11168

Closed
v1kn opened this issue Nov 12, 2016 · 4 comments
Closed

HTTP error on a viewable multifeed Youtube video #11168

v1kn opened this issue Nov 12, 2016 · 4 comments

Comments

@v1kn
Copy link

@v1kn v1kn commented Nov 12, 2016

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.11.08.1. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2016.11.08.1

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

I experienced the following issue when trying to download a video (link in the output below) from Youtube. The video is viewable on the website.

OS: xubuntu 16.04
Python: using virtualenv, python3-pip, all pip packages installed locally under $HOME

youtube-dl -v https://www.youtube.com/watch?v=jvGDaLqkpTg                                                                                                                                               [1/8976]
[debug] System config: []
[debug] User config: ['-R', '5', '-v', '-w', '-c', '-f', 'best', '-o', '~/Videos/%(title)s.%(ext)s']
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=jvGDaLqkpTg']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.11.08.1
[debug] Python version 3.5.1+ - Linux-4.4.0-45-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.8-0ubuntu0.16.04.1, ffprobe 2.8.8-0ubuntu0.16.04.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] jvGDaLqkpTg: Downloading webpage
[youtube] jvGDaLqkpTg: Downloading video info webpage
[youtube] Downloading multifeed video (jvGDaLqkpTg, 3AKt1R1aDnw, RtAMM00gpVc, 6N2fdlP3C5U) - add --no-playlist to just download video jvGDaLqkpTg
[download] Downloading playlist: Tom Clancy Free Weekend Rainbow Whatever
[youtube] playlist Tom Clancy Free Weekend Rainbow Whatever: Collected 4 video ids (downloading 4 of them)
[download] Downloading video 1 of 4
[youtube] jvGDaLqkpTg: Downloading webpage
[youtube] jvGDaLqkpTg: Downloading video info webpage
[youtube] jvGDaLqkpTg: Extracting video information
[youtube] jvGDaLqkpTg: Downloading MPD manifest
[debug] Invoking downloader on 'https://redirector.googlevideo.com/videoplayback?requiressl=yes&ip=89.228.161.79&mime=video%2Fmp4&ipbits=0&ratebypass=yes&signature=240E5A83071B2581523841FD27AE32584C46B03F.31D21A93
45EEB2EF0A143BCCFBE215208FE1DFAE&sparams=ei%2Cgcr%2Cid%2Cip%2Cipbits%2Citag%2Cmime%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&id=jvGDaLqkpTg.1&ei=qromWIPzBIOLd57kkJAO&upn=v3ptTqXZE1c&gcr=pl&itag=18&expire=1
478954762&source=youtube&key=yt6'
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "/home/user/.local/pyvenv/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 1699, in process_info
    success = dl(filename, info_dict)
  File "/home/user/.local/pyvenv/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 1641, in dl
    return fd.download(name, info)
  File "/home/user/.local/pyvenv/lib/python3.5/site-packages/youtube_dl/downloader/common.py", line 353, in download
    return self.real_download(filename, info_dict)
  File "/home/user/.local/pyvenv/lib/python3.5/site-packages/youtube_dl/downloader/http.py", line 61, in real_download
    data = self.ydl.urlopen(request)
  File "/home/user/.local/pyvenv/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 2001, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.5/urllib/request.py", line 504, in error
    result = self._call_chain(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 696, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python3.5/urllib/request.py", line 510, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
@v1kn v1kn changed the title HTTP error on a viewable Youtube video HTTP error on a viewable multifeed Youtube video Nov 12, 2016
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 12, 2016

The URL https://redirector.googlevideo.com/... is suspicious. In general YouTube does not return such URLs. Do all other videos work? And could you paste the result of the following command?

nslookup www.youtube.com
@v1kn
Copy link
Author

@v1kn v1kn commented Nov 12, 2016

New development: the video now works.
Nor could I reproduce the issue on my openSUSE box.

perhaps network hiccups?

i will close the issue

edit
for the sake of completion, the output:

Server:       127.0.1.1
Address:    127.0.1.1#53

Non-authoritative answer:
www.youtube.com canonical name = youtube-ui.l.google.com
Name:    youtube-ui.l.google.com
Address:     172.217.16.174
@v1kn v1kn closed this Nov 12, 2016
@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Nov 12, 2016

172.217.16.174 are Google IPs. There were reports that some ISPs intercept YouTube traffic and causing problems in downloading. Anyway, this case looks like a temporary YouTube server-side issue.

@v1kn
Copy link
Author

@v1kn v1kn commented Nov 12, 2016

good to know, thanks

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.