1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-06-28 22:59:34 +00:00
This commit is contained in:
guming0 2024-06-14 09:55:27 +00:00 committed by GitHub
commit 3cf5619691
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -74,10 +74,10 @@ class WeiboIE(InfoExtractor):
url, video_id, note='Revisiting webpage') url, video_id, note='Revisiting webpage')
title = self._html_search_regex( title = self._html_search_regex(
r'<title>(.+?)</title>', webpage, 'title') r'<title>(.+?)</title>', webpage, 'title', flags=re.DOTALL)
video_formats = compat_parse_qs(self._search_regex( video_formats = compat_parse_qs(self._search_regex(
r'video-sources=\\\"(.+?)\"', webpage, 'video_sources')) r'video-sources=\\\"(.+?)\"', webpage, 'video_sources', flags=re.DOTALL))
formats = [] formats = []
supported_resolutions = (480, 720) supported_resolutions = (480, 720)