diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-04-17 05:39:58 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2021-04-17 08:40:30 +0530 |
commit | b7da73eb19e00e4eab43ec7de129e9aa12f6d5d3 (patch) | |
tree | a87c490ae5d4de7e95c7b7a6cb9e5184d4827fd8 /yt_dlp/extractor/tv2.py | |
parent | 6a39ee13f7613767905a4669d1d0247aafc5a12c (diff) |
Add option `--ignore-no-formats-error`
* Ignores the "no video format" and similar errors
* Experimental - Some extractors may still throw these errors
Diffstat (limited to 'yt_dlp/extractor/tv2.py')
-rw-r--r-- | yt_dlp/extractor/tv2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/tv2.py b/yt_dlp/extractor/tv2.py index 334b7d540..f3480de56 100644 --- a/yt_dlp/extractor/tv2.py +++ b/yt_dlp/extractor/tv2.py @@ -103,7 +103,7 @@ class TV2IE(InfoExtractor): 'filesize': int_or_none(item.get('fileSize')), }) if not formats and data.get('drmProtected'): - raise ExtractorError('This video is DRM protected.', expected=True) + self.raise_no_formats('This video is DRM protected.', expected=True) self._sort_formats(formats) thumbnails = [{ |