This commit is contained in:
Maciej Krüger 2024-08-21 22:33:01 -04:00 committed by GitHub
commit 187b107602
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):