[quickscope] Remove extractor
authorSergey M․ <dstftw@gmail.com>
Sat, 14 Nov 2015 16:32:54 +0000 (22:32 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 14 Nov 2015 16:32:54 +0000 (22:32 +0600)
youtube_dl/extractor/periscope.py

index 887c8020d87f7413876b97e180ba10d1f813175c..f4c1b622ae4e640455719317624f809498dc9f26 100644 (file)
@@ -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')