mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-10 23:09:37 +01:00
[vine] Fix uploader extraction
This commit is contained in:
parent
72b18c5d34
commit
8b8cbd8f6d
@ -27,7 +27,7 @@ def _real_extract(self, url):
|
|||||||
video_url = self._html_search_regex(r'<meta property="twitter:player:stream" content="(.+?)"',
|
video_url = self._html_search_regex(r'<meta property="twitter:player:stream" content="(.+?)"',
|
||||||
webpage, u'video URL')
|
webpage, u'video URL')
|
||||||
|
|
||||||
uploader = self._html_search_regex(r'<div class="user">.*?<h2>(.+?)</h2>',
|
uploader = self._html_search_regex(r'<p class="username">(.*?)</p>',
|
||||||
webpage, u'uploader', fatal=False, flags=re.DOTALL)
|
webpage, u'uploader', fatal=False, flags=re.DOTALL)
|
||||||
|
|
||||||
return [{
|
return [{
|
||||||
|
Loading…
Reference in New Issue
Block a user