aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-07-14 00:38:10 +0700
committerSergey M․ <dstftw@gmail.com>2014-07-14 00:38:10 +0700
commit76233cda34a3795b405cd0b2ded14fc38930263f (patch)
tree3e0768c845b4b7dece03446a66dff474b92a680d
parent9dcea3998565838af1a0821929d7d149ae658971 (diff)
[pyvideo] Fix title extraction
-rw-r--r--youtube_dl/extractor/pyvideo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pyvideo.py b/youtube_dl/extractor/pyvideo.py
index 0bc0859b4..6d5732d45 100644
--- a/youtube_dl/extractor/pyvideo.py
+++ b/youtube_dl/extractor/pyvideo.py
@@ -46,7 +46,7 @@ class PyvideoIE(InfoExtractor):
return self.url_result(m_youtube.group(1), 'Youtube')
title = self._html_search_regex(
- r'<div class="section">.*?<h3(?:\s+class="[^"]*")?>([^>]+?)</h3>',
+ r'<div class="section">\s*<h3(?:\s+class="[^"]*"[^>]*)?>([^>]+?)</h3>',
webpage, 'title', flags=re.DOTALL)
video_url = self._search_regex(
[r'<source src="(.*?)"', r'<dt>Download</dt>.*?<a href="(.+?)"'],