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

Can't download youtube.com/watch?v=szhv6fwx7GY #19308

Closed
ghost opened this issue Feb 23, 2019 · 0 comments
Closed

Can't download youtube.com/watch?v=szhv6fwx7GY #19308

ghost opened this issue Feb 23, 2019 · 0 comments

Comments

@ghost
Copy link

@ghost ghost commented Feb 23, 2019

Slightly out-dated version though, so maybe works with the newest one, haven't tried; might be fixed there.

$ youtube-dl -f best -v https://www.youtube.com/watch?v=szhv6fwx7GY                                
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-f', 'best', '-v', 'https://www.youtube.com/watch?v=szhv6fwx7GY']
WARNING: Assuming --restrict-filenames since file system encoding cannot encode all characters. Set the LC_ALL environment variable to fix this.
[debug] Encodings: locale US-ASCII, fs ascii, out US-ASCII, pref US-ASCII
[debug] youtube-dl version 2019.01.17
[debug] Python version 3.6.8 (CPython) - OpenBSD-6.4-amd64-64bit
[debug] exe versions: ffmpeg 2.8.15, ffprobe 2.8.15
[debug] Proxy map: {}
[youtube] szhv6fwx7GY: Downloading webpage
[youtube] szhv6fwx7GY: Downloading video info webpage
[debug] Invoking downloader on 'https://r2---sn-apuoxu-30oe.googlevideo.com/videoplayback?dur=1192.298&ip=193.219.171.1&fvip=2&itag=22&ei=Wx9xXLOTBYfhgAfZ86ygBQ&requiressl=yes&lmt=1515991076178667&expire=1550939067&mm=31%2C29&ratebypass=yes&source=youtube&initcwndbps=972500&ipbits=0&pl=19&mv=m&c=WEB&ms=au%2Crdu&mime=video%2Fmp4&mn=sn-apuoxu-30oe%2Csn-4g5ednsd&key=yt6&signature=27A9B9D975F4161EDFE242CF2DC9AFCDB74A0CA5.1D74343518D92AAEAC349E3B37E68651DC64ABCB&id=o-AEpaujlHrFSpkGZFlgnLmu0uF3AjZmJ3zJyuW6vaffaa&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&mt=1550917372'
[download] Resuming download at byte 10561819
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1909, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1848, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/downloader/http.py", line 341, in real_download
    establish_connection()
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/downloader/http.py", line 109, in establish_connection
    ctx.data = self.ydl.urlopen(request)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 2212, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/local/lib/python3.6/urllib/request.py", line 532, in open
    response = meth(req, response)
  File "/usr/local/lib/python3.6/urllib/request.py", line 642, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/lib/python3.6/urllib/request.py", line 570, in error
    return self._call_chain(*args)
  File "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain
    result = func(*args)
  File "/usr/local/lib/python3.6/urllib/request.py", line 650, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
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
1 participant
You can’t perform that action at this time.