From b7da73eb19e00e4eab43ec7de129e9aa12f6d5d3 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sat, 17 Apr 2021 05:39:58 +0530 Subject: Add option `--ignore-no-formats-error` * Ignores the "no video format" and similar errors * Experimental - Some extractors may still throw these errors --- yt_dlp/extractor/steam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt_dlp/extractor/steam.py') diff --git a/yt_dlp/extractor/steam.py b/yt_dlp/extractor/steam.py index a6a191ceb..c70bdefe2 100644 --- a/yt_dlp/extractor/steam.py +++ b/yt_dlp/extractor/steam.py @@ -139,7 +139,7 @@ class SteamIE(InfoExtractor): 'format_id': ext + quality, 'url': video_url, }) - if not formats: + if not formats and not self._downloader.params.get('ignore_no_formats'): continue entry['formats'] = formats entries.append(entry) -- cgit v1.2.3