From 0da17730295695585b0ac98564128bb59202aee6 Mon Sep 17 00:00:00 2001 From: Celthi Date: Tue, 29 Dec 2015 09:30:33 +0800 Subject: [PATCH] [pornoram] Add new extractor --- youtube_dl/extractor/pornorama.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/youtube_dl/extractor/pornorama.py b/youtube_dl/extractor/pornorama.py index a1a8d3487..ac560ddab 100644 --- a/youtube_dl/extractor/pornorama.py +++ b/youtube_dl/extractor/pornorama.py @@ -27,10 +27,6 @@ class PornoramaIE(InfoExtractor): video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) - mobj = re.search(r'

(.+?)

', webpage) - if mobj: - raise ExtractorError('%s said: %s' % (self.IE_NAME, clean_html(mobj.group(1))), expected=True) - video_url = compat_urllib_parse_unquote( self._search_regex(r'flv_url=(.+?)&', webpage, 'video URL')) video_title = self._html_search_regex(