mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-02 09:44:52 +00:00
[extractor] Add write_debug
and get_param
This commit is contained in:
@@ -74,7 +74,7 @@ class TouTvIE(RadioCanadaIE):
|
||||
})
|
||||
# IsDrm does not necessarily mean the video is DRM protected (see
|
||||
# https://github.com/ytdl-org/youtube-dl/issues/13994).
|
||||
if not self._downloader.params.get('allow_unplayable_formats') and metadata.get('IsDrm'):
|
||||
if not self.get_param('allow_unplayable_formats') and metadata.get('IsDrm'):
|
||||
self.report_warning('This video is probably DRM protected.', path)
|
||||
video_id = metadata['IdMedia']
|
||||
details = metadata['Details']
|
||||
|
Reference in New Issue
Block a user