mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-22 20:20:09 +09:00
[vivo] fix filesize
This commit is contained in:
parent
a803582717
commit
bc4206524f
@ -116,7 +116,7 @@ class VivoIE(SharedBaseIE):
|
|||||||
|
|
||||||
def _extract_filesize(self, webpage):
|
def _extract_filesize(self, webpage):
|
||||||
return parse_filesize(self._search_regex(
|
return parse_filesize(self._search_regex(
|
||||||
r'data-type=["\']video["\'][^>]*>Watch.*?<strong>\s*\((.+?)\)',
|
r'<strong>\((\d+\.\d+ [KGM]B)\)</strong>',
|
||||||
webpage, 'filesize', fatal=False))
|
webpage, 'filesize', fatal=False))
|
||||||
|
|
||||||
def _extract_video_url(self, webpage, video_id, url):
|
def _extract_video_url(self, webpage, video_id, url):
|
||||||
|
Loading…
Reference in New Issue
Block a user