From b88ebd472e555189cc0809f6497b931266733e1b Mon Sep 17 00:00:00 2001 From: remitamine Date: Mon, 7 Sep 2015 21:25:32 +0100 Subject: [PATCH] [musicvault] remove extractor --- youtube_dl/extractor/musicvault.py | 63 ------------------------------ 1 file changed, 63 deletions(-) delete mode 100644 youtube_dl/extractor/musicvault.py diff --git a/youtube_dl/extractor/musicvault.py b/youtube_dl/extractor/musicvault.py deleted file mode 100644 index 0e46ac7c1f..0000000000 --- a/youtube_dl/extractor/musicvault.py +++ /dev/null @@ -1,63 +0,0 @@ -from __future__ import unicode_literals - -import re - -from .common import InfoExtractor - - -class MusicVaultIE(InfoExtractor): - _VALID_URL = r'https?://www\.musicvault\.com/(?P[^/?#]*)/video/(?P[^/?#]*)_(?P[0-9]+)\.html' - _TEST = { - 'url': 'http://www.musicvault.com/the-allman-brothers-band/video/straight-from-the-heart_1010863.html', - 'md5': '3adcbdb3dcc02d647539e53f284ba171', - 'info_dict': { - 'id': '1010863', - 'ext': 'mp4', - 'uploader_id': 'the-allman-brothers-band', - 'title': 'Straight from the Heart', - 'duration': 244, - 'uploader': 'The Allman Brothers Band', - 'thumbnail': 're:^https?://.*/thumbnail/.*', - 'upload_date': '20131219', - 'location': 'Capitol Theatre (Passaic, NJ)', - 'description': 'Listen to The Allman Brothers Band perform Straight from the Heart at Capitol Theatre (Passaic, NJ) on Dec 16, 1981', - 'timestamp': int, - } - } - - def _real_extract(self, url): - mobj = re.match(self._VALID_URL, url) - display_id = mobj.group('display_id') - webpage = self._download_webpage(url, display_id) - - thumbnail = self._search_regex( - r'(.*?)', webpage, 'data fields') - uploader = self._html_search_regex( - r'(.*?)', data_div, 'uploader', fatal=False) - title = self._html_search_regex( - r'(.*?)', data_div, 'title') - location = self._html_search_regex( - r'(.*?)', data_div, 'location', fatal=False) - - kaltura_id = self._search_regex( - r'