mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 15:25:49 +00:00
[vlive] Fix creator extraction (closes #8814)
This commit is contained in:
parent
920d318d3c
commit
2648918c81
@ -64,7 +64,7 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
thumbnail = self._og_search_thumbnail(webpage)
|
thumbnail = self._og_search_thumbnail(webpage)
|
||||||
creator = self._html_search_regex(
|
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)
|
webpage, 'creator', fatal=False)
|
||||||
|
|
||||||
view_count = int_or_none(playinfo.get('meta', {}).get('count'))
|
view_count = int_or_none(playinfo.get('meta', {}).get('count'))
|
||||||
|
Loading…
Reference in New Issue
Block a user