diff options
author | bashonly <88596187+bashonly@users.noreply.github.com> | 2023-10-04 13:01:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-04 18:01:52 +0000 |
commit | b095fd3fa9d58a65dc9b830bd63b9d909422aa86 (patch) | |
tree | 9b46c4eb34dd1dba9ff63b87027bc3e623d93c78 | |
parent | 0730d5a966fa8a937d84bfb7f68be5198acb039b (diff) |
[ie/WrestleUniverseVOD] Call API with device ID (#8272)
Closes #8271
Authored by: bashonly
-rw-r--r-- | yt_dlp/extractor/wrestleuniverse.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/yt_dlp/extractor/wrestleuniverse.py b/yt_dlp/extractor/wrestleuniverse.py index dd12804db..145246a14 100644 --- a/yt_dlp/extractor/wrestleuniverse.py +++ b/yt_dlp/extractor/wrestleuniverse.py @@ -190,10 +190,7 @@ class WrestleUniverseVODIE(WrestleUniverseBaseIE): def _real_extract(self, url): lang, video_id = self._match_valid_url(url).group('lang', 'id') metadata = self._download_metadata(url, video_id, lang, 'videoEpisodeFallbackData') - video_data = self._call_api(video_id, ':watch', 'watch', data={ - # 'deviceId' is required if ignoreDeviceRestriction is False - 'ignoreDeviceRestriction': True, - }) + video_data = self._call_api(video_id, ':watch', 'watch', data={'deviceId': self._DEVICE_ID}) return { 'id': video_id, |