]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/philharmoniedeparis.py
Add option `--ignore-no-formats-error`
[yt-dlp.git] / yt_dlp / extractor / philharmoniedeparis.py
index 03da64b116128f01893f047e747a1fb40af1e2df..9545adebf86e201263420a38b27ea67b72cb1786 100644 (file)
@@ -79,7 +79,7 @@ def extract_entry(source):
                 formats.extend(self._extract_m3u8_formats(
                     m3u8_url, video_id, 'mp4', entry_protocol='m3u8_native',
                     m3u8_id='hls', fatal=False))
-            if not formats:
+            if not formats and not self._downloader.params.get('ignore_no_formats'):
                 return
             self._sort_formats(formats)
             return {