mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-26 02:14:32 +01:00
Test added
This commit is contained in:
parent
a6a1395a73
commit
d878b8dd2b
@ -12,11 +12,31 @@ class acidcowIE(InfoExtractor):
|
|||||||
|
|
||||||
_VALID_URL = r'https?://acidcow\.com/video/(?P<id>\d+)-\S+'
|
_VALID_URL = r'https?://acidcow\.com/video/(?P<id>\d+)-\S+'
|
||||||
|
|
||||||
_TESTS = {
|
_TESTS = [{
|
||||||
# TODO: Implement
|
'url': 'https://acidcow.com/video/118851-learning_to_follow_patterns_with_dad.html',
|
||||||
|
'info_dict': {
|
||||||
|
'id': '118851',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'learning_to_follow_patterns_with_dad',
|
||||||
|
|
||||||
|
},
|
||||||
|
}, {
|
||||||
|
'url': 'https://acidcow.com/video/116642-that_was_really_close.html',
|
||||||
|
'info_dict': {
|
||||||
|
'id': '116642',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'that_was_really_close',
|
||||||
|
},
|
||||||
|
}, {
|
||||||
|
'url': 'https://acidcow.com/video/118850-it_reminds_me_of_cars_scene.html',
|
||||||
|
'info_dict': {
|
||||||
|
'id': '118850',
|
||||||
|
'ext': 'mp4',
|
||||||
|
'title': 'it_reminds_me_of_cars_scene',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
video_id = self._match_id(url)
|
video_id = self._match_id(url)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user