projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dcea39
)
[pyvideo] Fix title extraction
author
Sergey M․
<dstftw@gmail.com>
Sun, 13 Jul 2014 17:38:10 +0000
(
00:38
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 13 Jul 2014 17:38:10 +0000
(
00:38
+0700)
youtube_dl/extractor/pyvideo.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pyvideo.py
b/youtube_dl/extractor/pyvideo.py
index 0bc0859b466e533419d5647d7f0250988d2f36db..6d5732d45c3d3e22d085319ff45449881ac73ad2 100644
(file)
--- 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="(.+?)"'],