projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
983e9b7
)
[prosiebensat1] Throw ExtractionError on unsupported page type (closes #12180)
author
Sergey M․
<dstftw@gmail.com>
Sun, 19 Feb 2017 18:00:53 +0000
(
01:00
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 19 Feb 2017 18:00:53 +0000
(
01:00
+0700)
youtube_dl/extractor/prosiebensat1.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/prosiebensat1.py
b/youtube_dl/extractor/prosiebensat1.py
index 5091d8456faf3a4841ba770ea408aa75be806f83..1245309a7ebc1e5621ee4c566ef64f16676c6011 100644
(file)
--- a/
youtube_dl/extractor/prosiebensat1.py
+++ b/
youtube_dl/extractor/prosiebensat1.py
@@
-424,3
+424,6
@@
class ProSiebenSat1IE(ProSiebenSat1BaseIE):
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)