projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82b1fd
)
[pyvideo] Fix title
author
Philipp Hagemeister
<phihag@phihag.de>
Fri, 11 Apr 2014 00:20:50 +0000
(
02:20
+0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Fri, 11 Apr 2014 00:20:50 +0000
(
02:20
+0200)
youtube_dl/extractor/pyvideo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pyvideo.py
b/youtube_dl/extractor/pyvideo.py
index d2d9091368e2d48e83cc3c3558721c3c60513af4..0bc0859b466e533419d5647d7f0250988d2f36db 100644
(file)
--- a/
youtube_dl/extractor/pyvideo.py
+++ b/
youtube_dl/extractor/pyvideo.py
@@
-46,7
+46,8
@@
class PyvideoIE(InfoExtractor):
return self.url_result(m_youtube.group(1), 'Youtube')
title = self._html_search_regex(
- r'<div class="section">.*?<h3>([^>]+?)</h3>', webpage, 'title', flags=re.DOTALL)
+ r'<div class="section">.*?<h3(?:\s+class="[^"]*")?>([^>]+?)</h3>',
+ webpage, 'title', flags=re.DOTALL)
video_url = self._search_regex(
[r'<source src="(.*?)"', r'<dt>Download</dt>.*?<a href="(.+?)"'],
webpage, 'video url', flags=re.DOTALL)