diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-11-14 22:32:54 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-11-14 22:32:54 +0600 |
commit | dcdfeb33d2666ca07d2fb73ebf9284a77e714f69 (patch) | |
tree | c5bb1237253f2f714c9ddc108d90b802864529a9 | |
parent | 0d85c3a7327e75173897d0e212254e496a46ea2d (diff) |
[quickscope] Remove extractor
-rw-r--r-- | youtube_dl/extractor/periscope.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/youtube_dl/extractor/periscope.py b/youtube_dl/extractor/periscope.py index 887c8020d..f4c1b622a 100644 --- a/youtube_dl/extractor/periscope.py +++ b/youtube_dl/extractor/periscope.py @@ -81,24 +81,3 @@ class PeriscopeIE(InfoExtractor): 'thumbnails': thumbnails, 'formats': formats, } - - -class QuickscopeIE(InfoExtractor): - IE_DESC = 'Quick Scope' - _VALID_URL = r'https?://watchonperiscope\.com/broadcast/(?P<id>\d+)' - _TEST = { - 'url': 'https://watchonperiscope.com/broadcast/56180087', - 'only_matching': True, - } - - def _real_extract(self, url): - broadcast_id = self._match_id(url) - request = compat_urllib_request.Request( - 'https://watchonperiscope.com/api/accessChannel', compat_urllib_parse.urlencode({ - 'broadcast_id': broadcast_id, - 'entry_ticket': '', - 'from_push': 'false', - 'uses_sessions': 'true', - }).encode('utf-8')) - return self.url_result( - self._download_json(request, broadcast_id)['share_url'], 'Periscope') |