summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-04-11 02:20:50 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-04-11 02:20:50 +0200
commit3950450342c28466dbb29e13d6eb9fd3db6ab8c0 (patch)
treefb3721fb9ed14d2cd0d37f5bbdd899b92c506ef7
parentc82b1fdad6f27d78413c30cca9bc84a5c384afbf (diff)
downloadyoutube-dl-3950450342c28466dbb29e13d6eb9fd3db6ab8c0.tar.gz
youtube-dl-3950450342c28466dbb29e13d6eb9fd3db6ab8c0.tar.xz
youtube-dl-3950450342c28466dbb29e13d6eb9fd3db6ab8c0.zip
[pyvideo] Fix title
-rw-r--r--youtube_dl/extractor/pyvideo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pyvideo.py b/youtube_dl/extractor/pyvideo.py
index d2d909136..0bc0859b4 100644
--- 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)