From c55f7f1f9c21ec4668b928c60a8a84c0a1b96a37 Mon Sep 17 00:00:00 2001 From: Dante Date: Wed, 8 Apr 2020 20:26:47 -0700 Subject: [PATCH] Removed unmergerd extractor file --- youtube_dl/extractor/acidcow.py | 39 --------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 youtube_dl/extractor/acidcow.py diff --git a/youtube_dl/extractor/acidcow.py b/youtube_dl/extractor/acidcow.py deleted file mode 100644 index 3f8f9bb16..000000000 --- a/youtube_dl/extractor/acidcow.py +++ /dev/null @@ -1,39 +0,0 @@ -from __future__ import unicode_literals - -from .common import InfoExtractor - - -class acidcowIE(InfoExtractor): - """ - InfoExtractor for acid.cow - This class should be used to handle videos. Another class (TODO) will be - used to implement playlists or other content. - """ - - _VALID_URL = r'https?://acidcow\.com/video/(?P\d+)-\S+' - - _TESTS = { - # TODO: Implement - - } - - def _real_extract(self, url): - video_id = self._match_id(url) - - webpage = self._download_webpage( - url, video_id - ) - - title = self._html_search_regex(r'(.+?)', webpage, 'title') - - download_url = self._html_search_regex( - - r'(https://cdn\.acidcow\.com/pics/[0-9]+/video/\S+\.mp4)', - - webpage, "download_url" - ) - return { - 'id': video_id, - 'url': download_url, - 'title': title - }