1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 22:55:18 +00:00

[cleanup] Misc (#8968)

Authored by: pukkandan, bashonly, seproDev
This commit is contained in:
pukkandan
2024-03-10 20:48:44 +05:30
parent ed3bb2b0a1
commit 615a84447e
19 changed files with 80 additions and 94 deletions

View File

@@ -9,7 +9,6 @@ from ..utils import (
int_or_none,
str_or_none,
traverse_obj,
update_url_query,
)
@@ -82,7 +81,7 @@ class MedalTVIE(InfoExtractor):
def _real_extract(self, url):
video_id = self._match_id(url)
webpage = self._download_webpage(update_url_query(url, {'mobilebypass': 'true'}), video_id)
webpage = self._download_webpage(url, video_id, query={'mobilebypass': 'true'})
hydration_data = self._search_json(
r'<script[^>]*>[^<]*\bhydrationData\s*=', webpage,