1
0
Fork 0

[cleanup] Misc (#8968)

Authored by: pukkandan, bashonly, seproDev
This commit is contained in:
pukkandan 2024-03-10 20:48:44 +05:30
commit 615a84447e
No known key found for this signature in database
GPG key ID: 7EEE9E1E817D0A39
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,