[vivo] fix filesize

pull/29621/head
Maciej Krüger 3 years ago
parent a803582717
commit bc4206524f
No known key found for this signature in database
GPG Key ID: 0D948CE19CF49C5F

@ -116,7 +116,7 @@ class VivoIE(SharedBaseIE):
def _extract_filesize(self, webpage):
return parse_filesize(self._search_regex(
r'data-type=["\']video["\'][^>]*>Watch.*?<strong>\s*\((.+?)\)',
r'<strong>\((\d+\.\d+ [KGM]B)\)</strong>',
webpage, 'filesize', fatal=False))
def _extract_video_url(self, webpage, video_id, url):

Loading…
Cancel
Save