Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Unable to download an embedded video #969
Comments
|
In a shell, you need to escape the ampersand. Your shell parses your command as youtube-dl http://www.youtube.com/watch?feature=player_embedded &
v=yFaneKodJdg # Set a variable and do nothingEither escape the ampersands with backslashes or put the whole URL in quotes:
Note that this is a feature of your shell, and completely unrelated to youtube-dl. We just get the URL
|
|
Thank you for your attention and explanations. yes, I have a very basic knowledge about Bash, I passed a course on that last year. Thank you again. |
~ $ youtube-dl --verbose http://www.youtube.com/watch?feature=player_embedded&v=yFaneKodJdg
[2] 5476
sadeqzad@Laptop ~ $ [debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?feature=player_embedded']
[debug] youtube-dl version 2013.06.34.4
[debug] Python version 2.7.4 - Linux-3.8.0-19-generic-x86_64-with-LinuxMint-15-olivia
[debug] Proxy map: {}
[youtube] Setting language
[youtube] watch: Downloading video webpage
ERROR: Unable to download video webpage: HTTP Error 404: Not Found; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 416, in _real_extract
video_webpage_bytes = compat_urllib_request.urlopen(request).read()
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 92, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 418, in _real_extract
raise ExtractorError(u'Unable to download video webpage: %s' % compat_str(err))
ExtractorError: Unable to download video webpage: HTTP Error 404: Not Found; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.