mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02:00
parent
4cf1e5d2f9
commit
8eec0120a2
@ -170,7 +170,7 @@ def _real_extract(self, url):
|
|||||||
media = self._download_json(
|
media = self._download_json(
|
||||||
base + '.json', video_id, 'Downloading video 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(
|
if try_get(
|
||||||
media,
|
media,
|
||||||
(lambda x: x['rights_management']['rights']['drm'],
|
(lambda x: x['rights_management']['rights']['drm'],
|
||||||
|
Loading…
Reference in New Issue
Block a user