mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-08-21 23:02:11 +02:00
parent
1fafb32984
commit
a1d1c63678
@ -92,7 +92,8 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
if video_url is None:
|
if video_url is None:
|
||||||
video_url = self._html_search_regex(
|
video_url = self._html_search_regex(
|
||||||
r'"MediaContentUrl":"([^"]+)"', webpage, 'media content url', default=None)
|
r'MediaContentUrl["\']\s*:(["\'])(?P<url>(?:(?!\1).)+)\1',
|
||||||
|
webpage, 'video url', default=None, group='url')
|
||||||
|
|
||||||
if video_url is None:
|
if video_url is None:
|
||||||
video_url = self._html_search_meta(
|
video_url = self._html_search_meta(
|
||||||
|
Loading…
Reference in New Issue
Block a user