mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2025-10-29 09:26:20 -07:00
[prosiebensat1] Throw ExtractionError on unsupported page type (closes #12180)
This commit is contained in:
@@ -424,3 +424,6 @@ class ProSiebenSat1IE(ProSiebenSat1BaseIE):
|
|||||||
return self._extract_clip(url, webpage)
|
return self._extract_clip(url, webpage)
|
||||||
elif page_type == 'playlist':
|
elif page_type == 'playlist':
|
||||||
return self._extract_playlist(url, webpage)
|
return self._extract_playlist(url, webpage)
|
||||||
|
else:
|
||||||
|
raise ExtractorError(
|
||||||
|
'Unsupported page type %s' % page_type, expected=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user