mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-04 23:35:04 +00:00
[prosiebensat1] Throw ExtractionError on unsupported page type (closes #12180)
This commit is contained in:
parent
983e9b7746
commit
8ffb8e63fe
1 changed files with 3 additions and 0 deletions
|
@ -424,3 +424,6 @@ def _real_extract(self, url):
|
|||
return self._extract_clip(url, webpage)
|
||||
elif page_type == 'playlist':
|
||||
return self._extract_playlist(url, webpage)
|
||||
else:
|
||||
raise ExtractorError(
|
||||
'Unsupported page type %s' % page_type, expected=True)
|
||||
|
|
Loading…
Reference in a new issue