mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-03 08:19:57 +01:00
[srmediathek] Choose variable name more wisely
This commit is contained in:
parent
bbf1092ad0
commit
9fdece5d34
@ -26,9 +26,9 @@ def _real_extract(self, url):
|
|||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
urls = json.loads(js_to_json(self._search_regex(
|
murls = json.loads(js_to_json(self._search_regex(
|
||||||
r'var mediaURLs\s*=\s*(.*?);\n', webpage, 'video URLs')))
|
r'var mediaURLs\s*=\s*(.*?);\n', webpage, 'video URLs')))
|
||||||
formats = [{'url': url} for url in urls]
|
formats = [{'url': murl} for murl in murls]
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
title = json.loads(js_to_json(self._search_regex(
|
title = json.loads(js_to_json(self._search_regex(
|
||||||
|
Loading…
Reference in New Issue
Block a user