1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-01 20:57:54 +01:00

acidcow_ver_1.7

This commit is contained in:
Dante 2020-03-31 19:37:54 -07:00
parent 93399278c4
commit 3efa8c9553

View File

@ -30,7 +30,7 @@ class acidcowIE(InfoExtractor):
) )
''' '''
webpage = self._download_webpage( webpage = self._download_webpage(
"https://acidcow.com/video/", video_id "https://acidcow.com/video/116642-that_was_really_close.html", video_id
) )
title = self._html_search_regex(r'<title>(.+?)</title>', webpage, 'title') title = self._html_search_regex(r'<title>(.+?)</title>', webpage, 'title')
@ -44,7 +44,7 @@ class acidcowIE(InfoExtractor):
''' '''
download_url = self._html_search_regex( download_url = self._html_search_regex(
r'https://cdn\.acidcow\.com/pics/[0-9]+/video/\S+', r'(https://cdn\.acidcow\.com/pics/[0-9]+/video/\S+\.mp4)',
webpage, "download_url" webpage, "download_url"
) )