]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/ard.py
Add option `--ignore-no-formats-error`
[yt-dlp.git] / yt_dlp / extractor / ard.py
index 294da7c51ad7beb60a344f253a7d3e5add64c7ea..4d90be7140d4f8403d5329ed6416c7cff2d014ac 100644 (file)
@@ -36,12 +36,12 @@ def _parse_media_info(self, media_info, video_id, fsk):
 
         if not formats:
             if fsk:
-                raise ExtractorError(
+                self.raise_no_formats(
                     'This video is only available after 20:00', expected=True)
             elif media_info.get('_geoblocked'):
                 self.raise_geo_restricted(
                     'This video is not available due to geoblocking',
-                    countries=self._GEO_COUNTRIES)
+                    countries=self._GEO_COUNTRIES, metadata_available=True)
 
         self._sort_formats(formats)