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:
pukkandan 2021-04-17 05:39:58 +05:30
parent 6a39ee13f7
commit b7da73eb19
No known key found for this signature in database
GPG key ID: 0F00D95A001F4698
39 changed files with 103 additions and 76 deletions

View file

@ -1242,7 +1242,7 @@ class BBCIE(BBCCoUkIE):
entries = []
for num, media_meta in enumerate(medias, start=1):
formats, subtitles = self._extract_from_media_meta(media_meta, playlist_id)
if not formats:
if not formats and not self._downloader.params.get('ignore_no_formats'):
continue
self._sort_formats(formats)