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

[utils] random_user_agent: Bump versions (#13543)

Closes #5362
Authored by: bashonly
This commit is contained in:
bashonly
2025-07-22 16:34:03 -05:00
committed by GitHub
parent eed94c7306
commit c59ad2b066
7 changed files with 10 additions and 81 deletions

View File

@@ -99,7 +99,7 @@ class SproutVideoIE(InfoExtractor):
url, smuggled_data = unsmuggle_url(url, {})
video_id = self._match_id(url)
webpage = self._download_webpage(
url, video_id, headers=traverse_obj(smuggled_data, {'Referer': 'referer'}), impersonate=True)
url, video_id, headers=traverse_obj(smuggled_data, {'Referer': 'referer'}))
data = self._search_json(
r'(?:var|const|let)\s+(?:dat|playerInfo)\s*=\s*["\']', webpage, 'player info', video_id,
contains_pattern=r'[A-Za-z0-9+/=]+', end_pattern=r'["\'];',