projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
850ab76
)
Allow empty titles because they do appear in some videos (fixes issue #53)
author
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Mon, 21 Sep 2009 18:39:51 +0000
(20:39 +0200)
committer
Ricardo Garcia
<sarbalap+freshmeat@gmail.com>
Sun, 31 Oct 2010 10:24:56 +0000
(11:24 +0100)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index 03609e22ca8d8cde4f1a92db1fbb0f81a3de57cb..f57343ea80f17cfa7523f4be91a5fc5f57c02278 100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-719,7
+719,7
@@
class YoutubeIE(InfoExtractor):
video_uploader = urllib.unquote(mobj.group(1))
# title
- mobj = re.search(r'(?m)&title=([^&]
+
)(?:&|$)', video_info_webpage)
+ mobj = re.search(r'(?m)&title=([^&]
*
)(?:&|$)', video_info_webpage)
if mobj is None:
self._downloader.trouble(u'ERROR: unable to extract video title')
return