projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
920d318
)
[vlive] Fix creator extraction (closes #8814)
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 20 Mar 2016 10:14:02 +0000
(18:14 +0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 20 Mar 2016 10:15:53 +0000
(18:15 +0800)
youtube_dl/extractor/vlive.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vlive.py
b/youtube_dl/extractor/vlive.py
index 9e2aa58bd94270aee79800ec2d4d4ac18bad28e8..bd55451732cea69570753cb7064066537f5600ae 100644
(file)
--- a/
youtube_dl/extractor/vlive.py
+++ b/
youtube_dl/extractor/vlive.py
@@
-64,7
+64,7
@@
class VLiveIE(InfoExtractor):
thumbnail = self._og_search_thumbnail(webpage)
creator = self._html_search_regex(
- r'<div[^>]+class="info_area"[^>]*>\s*<
strong[^>]+class="name"[^>]*>([^<]+)</strong>
',
+ r'<div[^>]+class="info_area"[^>]*>\s*<
a\s+[^>]*>([^<]+)
',
webpage, 'creator', fatal=False)
view_count = int_or_none(playinfo.get('meta', {}).get('count'))