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.
Youtube Issue #4100
Youtube Issue #4100
Comments
|
Hi @seteBR, youtube-dl 'https://www.youtube.com/watch?v=BMTEqvYBbMc' -f best --verbose |
|
I'm having the same issue. I ran the command you gave and here's the full output: youtube-dl 'https://www.youtube.com/watch?v=BMTEqvYBbMc' -f best --verbose |
|
I am getting same issue, I installed youtube-dl on AWS and getting this error for few urls while they work perfectly on my local system. |
|
Hi @naglis, The output: |
|
I'm getting this error as well. |
|
I can't reproduce it with Python 2.6.9. This is possibly related/duplicate of #719. @ayushhgoyal @blackpropeller, with what versions of Python can you reproduce this error? Please provide the full version (major,minor,micro), like 2.6.6 or 2.6.9. You can see what version of Python youtube-dl uses in the output of youtube-dl with the youtube-dl --verbose |
|
I'm experiencing this issue with Python version 2.6.6
|
|
I have a 2.6.6 working in one system and not working in others: |
|
Getting error with Python version: 2.6.9 |
|
Working with python 3.4.1. python3.4 /usr/local/bin/youtube-dl https://www.youtube.com/watch?v=BMTEqvYBbMc -f best -v |
|
Thank you for the report. I believe this issue to be fixed in youtube-dl 2014.11.04. Refer to our FAQ to find out how to update. Please comment or open a new issue if the issue persists with the new version. |
youtube-dl https://www.youtube.com/watch?v=BMTEqvYBbMc -f best
[youtube] Confirming age
[youtube] BMTEqvYBbMc: Downloading webpage
[youtube] BMTEqvYBbMc: Downloading video info webpage
[youtube] BMTEqvYBbMc: 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/local/bin/youtube-dl/main.py", line 18, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 349, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 339, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1082, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 533, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 198, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 792, in _real_extract
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 476, in get_element_by_id
File "/usr/local/bin/youtube-dl/youtube_dl/utils.py", line 482, in get_element_by_attribute
File "/usr/local/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/local/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