Merge bc4206524f76a116db49aaf3339a92e8449923a4 into 3eb8d22ddb8982ca4fb56bb7a8d6517538bf14c6

This commit is contained in:
Maciej Krüger 2025-04-01 09:53:26 +02:00 committed by GitHub
commit b51c07246f
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):
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):