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.
Hello,
While i tried to download some videos from Yt in Linux i get the following error:
(the windows version has no error)
youtube-dl -F https://www.youtube.com/watch?v=4L6JZ5g4Wa8
[youtube] Confirming age
[youtube] 4L6JZ5g4Wa8: Downloading webpage
[youtube] 4L6JZ5g4Wa8: Downloading video info webpage
[youtube] 4L6JZ5g4Wa8: Extracting video information
Traceback (most recent call last):
File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/usr/bin/youtube-dl/main.py", line 18, in
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 349, in main
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 339, in _real_main
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1082, in download
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 533, in extract_info
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 198, in extract
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 790, in _real_extract
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 476, in get_element_by_id
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 482, in get_element_by_attribute
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 405, in loads
File "/usr/lib64/python2.6/HTMLParser.py", line 108, in feed
self.goahead(0)
File "/usr/lib64/python2.6/HTMLParser.py", line 150, in goahead
k = self.parse_endtag(i)
File "/usr/bin/youtube-dl/youtube_dl/utils.py", line 472, in
File "/usr/lib64/python2.6/HTMLParser.py", line 310, in parse_endtag
assert rawdata[i:i+2] == "</", "unexpected call to parse_endtag"
AssertionError: unexpected call to parse_endtag
This one is oke:
youtube-dl -F https://www.youtube.com/watch?v=yqF_r4J5fos
[youtube] Confirming age
[youtube] yqF_r4J5fos: Downloading webpage
[youtube] yqF_r4J5fos: Downloading video info webpage
[youtube] yqF_r4J5fos: Extracting video information
[youtube] yqF_r4J5fos: Downloading DASH manifest
[info] Available formats for yqF_r4J5fos:
format code extension resolution note
Not all videos goes wrong in Linux , Windows is oke.
Os is openvz Centos 6 Kernel 2.6.32-042stab093.5
Regards,
WuvorWenda