mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
Removed unmergerd extractor file
This commit is contained in:
parent
ff65f32387
commit
c55f7f1f9c
@ -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<id>\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'<title>(.+?)</title>', 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
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user