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

Error download in Linux not in the Windows version #4102

Closed
WuvorWenda opened this issue Nov 4, 2014 · 1 comment
Closed

Error download in Linux not in the Windows version #4102

WuvorWenda opened this issue Nov 4, 2014 · 1 comment

Comments

@WuvorWenda
Copy link

@WuvorWenda WuvorWenda commented Nov 4, 2014

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

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Nov 4, 2014

Duplicate of #4100.

@jaimeMF jaimeMF closed this Nov 4, 2014
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.