]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/steam.py
Add option `--ignore-no-formats-error`
[yt-dlp.git] / yt_dlp / extractor / steam.py
index a6a191cebb4b98e46627ecc9ae8bd70071193ea6..c70bdefe28dfcce08ad1c44d282312f624c8064a 100644 (file)
@@ -139,7 +139,7 @@ def _real_extract(self, url):
                                         '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)