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/ooyala.py | |
parent | 6a39ee13f7613767905a4669d1d0247aafc5a12c (diff) | |
download | hypervideo-pre-b7da73eb19e00e4eab43ec7de129e9aa12f6d5d3.tar.lz hypervideo-pre-b7da73eb19e00e4eab43ec7de129e9aa12f6d5d3.tar.xz hypervideo-pre-b7da73eb19e00e4eab43ec7de129e9aa12f6d5d3.zip |
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/ooyala.py')
-rw-r--r-- | yt_dlp/extractor/ooyala.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/yt_dlp/extractor/ooyala.py b/yt_dlp/extractor/ooyala.py index eb957b8fe..7204dfecd 100644 --- a/yt_dlp/extractor/ooyala.py +++ b/yt_dlp/extractor/ooyala.py @@ -10,7 +10,6 @@ from ..compat import ( ) from ..utils import ( determine_ext, - ExtractorError, float_or_none, int_or_none, try_get, @@ -85,7 +84,7 @@ class OoyalaBaseIE(InfoExtractor): 'fps': float_or_none(stream.get('framerate')), }) if not formats and not auth_data.get('authorized'): - raise ExtractorError('%s said: %s' % ( + self.raise_no_formats('%s said: %s' % ( self.IE_NAME, auth_data['message']), expected=True) self._sort_formats(formats) |