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.
Vimeo downloading crashes with: AttributeError: 'NoneType' object has no attribute 'group' #662
Comments
|
Unfortunately, I cannot reproduce this issue on Python 2.7.3 on Linux. This looks like an internal Python error. We'll investigate, thanks for reporting! |
|
works for me without encasing url with `` On Fri, Feb 1, 2013 at 10:50 AM, Philipp Hagemeister <
yair99@gmail |
|
@yoshco 2.7.3 or 2.7.2? If it fails on 2.7.2, but not 2.7.3, that may be the issue. |
|
im on 2.7.3, sorry for ommiting On Fri, Feb 1, 2013 at 11:02 AM, Philipp Hagemeister <
yair99@gmail |
|
@yoshco No, encasing the URL is no problem and has no effect in any remotely POSIX-compatible shell, which zsh is. youtube-dl doesn't even get the quotes in the first place. |
|
I'm having the same issues with python 2.6.6 / Debian 6.0: $ python ./youtube-dl 'http://vimeo.com/33186972'
[vimeo] 33186972: Downloading webpage
[vimeo] 33186972: Extracting information
Traceback (most recent call last):
File "/usr/lib/python2.6/runpy.py", line 122, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/youtube-dl/__main__.py", line 17, in <module>
File "/youtube-dl/youtube_dl/__init__.py", line 494, in main
File "/youtube-dl/youtube_dl/__init__.py", line 478, in _real_main
File "/youtube-dl/youtube_dl/FileDownloader.py", line 503, in download
File "/youtube-dl/youtube_dl/InfoExtractors.py", line 92, in extract
File "/youtube-dl/youtube_dl/InfoExtractors.py", line 1032, in _real_extract
File "/youtube-dl/youtube_dl/utils.py", line 292, in get_element_by_attribute
File "/youtube-dl/youtube_dl/utils.py", line 240, in loads
File "/usr/lib/python2.6/HTMLParser.py", line 108, in feed
self.goahead(0)
File "/usr/lib/python2.6/HTMLParser.py", line 150, in goahead
k = self.parse_endtag(i)
File "/usr/lib/python2.6/HTMLParser.py", line 318, in parse_endtag
tag = match.group(1)
AttributeError: 'NoneType' object has no attribute 'group'
$ python --version
Python 2.6.6It works fine on another machine using Python 2.7.3/Ubuntu 12.10 though. |
|
Thanks for reporting, fixed in youtube-dl 2013.02.01. Type sudo youtube-dl -Uto update. |
|
Thanks for fixing it so quickly. It's working now |
|
Awesomely quick fix, thanks! |
Tried with multiple videos, both HTTP & HTTPS URLs. All fail.