youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 8ffb8e63fe2853f9e51420ba224db428f1241c35
parent 983e9b774643fc588fbfb51d314381025ffac248
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon, 20 Feb 2017 01:00:53 +0700

[prosiebensat1] Throw ExtractionError on unsupported page type (closes #12180)

Diffstat:
Myoutube_dl/extractor/prosiebensat1.py | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git 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)