aboutsummaryrefslogtreecommitdiffstats
path: root/hypervideo_dl/extractor/thescene.py
diff options
context:
space:
mode:
Diffstat (limited to 'hypervideo_dl/extractor/thescene.py')
-rw-r--r--hypervideo_dl/extractor/thescene.py44
1 files changed, 0 insertions, 44 deletions
diff --git a/hypervideo_dl/extractor/thescene.py b/hypervideo_dl/extractor/thescene.py
deleted file mode 100644
index cd64235..0000000
--- a/hypervideo_dl/extractor/thescene.py
+++ /dev/null
@@ -1,44 +0,0 @@
-from __future__ import unicode_literals
-
-from .common import InfoExtractor
-
-from ..compat import compat_urlparse
-
-
-class TheSceneIE(InfoExtractor):
- _VALID_URL = r'https?://thescene\.com/watch/[^/]+/(?P<id>[^/#?]+)'
-
- _TEST = {
- 'url': 'https://thescene.com/watch/vogue/narciso-rodriguez-spring-2013-ready-to-wear',
- 'info_dict': {
- 'id': '520e8faac2b4c00e3c6e5f43',
- 'ext': 'mp4',
- 'title': 'Narciso Rodriguez: Spring 2013 Ready-to-Wear',
- 'display_id': 'narciso-rodriguez-spring-2013-ready-to-wear',
- 'duration': 127,
- 'series': 'Style.com Fashion Shows',
- 'season': 'Ready To Wear Spring 2013',
- 'tags': list,
- 'categories': list,
- 'upload_date': '20120913',
- 'timestamp': 1347512400,
- 'uploader': 'vogue',
- },
- }
-
- def _real_extract(self, url):
- display_id = self._match_id(url)
-
- webpage = self._download_webpage(url, display_id)
-
- player_url = compat_urlparse.urljoin(
- url,
- self._html_search_regex(
- r'id=\'js-player-script\'[^>]+src=\'(.+?)\'', webpage, 'player url'))
-
- return {
- '_type': 'url_transparent',
- 'display_id': display_id,
- 'url': player_url,
- 'ie_key': 'CondeNast',
- }