mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-06 13:35:50 +01:00
Add option --ignore-no-formats-error
* Ignores the "no video format" and similar errors * Experimental - Some extractors may still throw these errors
This commit is contained in:
parent
6a39ee13f7
commit
b7da73eb19
39 changed files with 103 additions and 76 deletions
|
|
@ -87,7 +87,7 @@ class WatIE(InfoExtractor):
|
|||
extract_formats({delivery.get('format'): delivery.get('url')})
|
||||
if not formats:
|
||||
if delivery.get('drm'):
|
||||
raise ExtractorError('This video is DRM protected.', expected=True)
|
||||
self.raise_no_formats('This video is DRM protected.', expected=True)
|
||||
manifest_urls = self._download_json(
|
||||
'http://www.wat.tv/get/webhtml/' + video_id, video_id, fatal=False)
|
||||
if manifest_urls:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue