diff options
author | nixxo <nixxo@protonmail.com> | 2021-03-13 16:38:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-13 21:08:50 +0530 |
commit | 8eec0120a22584bb2533230a15caaaa4088ea2a8 (patch) | |
tree | 545fcd0415000d7423ec3412bd8567c54dd5aa7c | |
parent | 4cf1e5d2f9a145de9749e90a1d244350c82ef610 (diff) | |
download | hypervideo-pre-8eec0120a22584bb2533230a15caaaa4088ea2a8.tar.lz hypervideo-pre-8eec0120a22584bb2533230a15caaaa4088ea2a8.tar.xz hypervideo-pre-8eec0120a22584bb2533230a15caaaa4088ea2a8.zip |
[rai] fix drm check (#168)
Bug introduced by #150
Authored by: nixxo
-rw-r--r-- | yt_dlp/extractor/rai.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/rai.py b/yt_dlp/extractor/rai.py index d09b4a735..6c2191bb3 100644 --- a/yt_dlp/extractor/rai.py +++ b/yt_dlp/extractor/rai.py @@ -170,7 +170,7 @@ class RaiPlayIE(RaiBaseIE): media = self._download_json( base + '.json', video_id, 'Downloading video JSON') - if not self.params.get('allow_unplayable_formats'): + if not self._downloader.params.get('allow_unplayable_formats'): if try_get( media, (lambda x: x['rights_management']['rights']['drm'], |