projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a319c33
)
[dump] Fix title extraction
author
Sergey M․
<dstftw@gmail.com>
Sat, 4 Apr 2015 17:33:07 +0000
(23:33 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 4 Apr 2015 17:33:07 +0000
(23:33 +0600)
youtube_dl/extractor/dump.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/dump.py
b/youtube_dl/extractor/dump.py
index 6b651778afa2faa57237314cde7a25f3ebb06278..ff78d4fd2e84c390a929f29a052b1dd87abe03d1 100644
(file)
--- a/
youtube_dl/extractor/dump.py
+++ b/
youtube_dl/extractor/dump.py
@@
-28,12
+28,12
@@
class DumpIE(InfoExtractor):
video_url = self._search_regex(
r's1.addVariable\("file",\s*"([^"]+)"', webpage, 'video URL')
- t
humb = self._og_search_thumbnail
(webpage)
- t
itle = self._search_regex(r'<b>([^"]+)</b>', webpage, 'title'
)
+ t
itle = self._og_search_title
(webpage)
+ t
humbnail = self._og_search_thumbnail(webpage
)
return {
'id': video_id,
'title': title,
'url': video_url,
- 'thumbnail': thumb,
+ 'thumbnail': thumb
nail
,
}