1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

acidcow_ver_1.4

This commit is contained in:
Dante 2020-03-30 21:30:15 -07:00
parent 5b1094e719
commit 1893ea5590

View File

@ -24,9 +24,14 @@ class acidcowIE(InfoExtractor):
def _real_extract(self, url): def _real_extract(self, url):
video_id = self._match_id(url) video_id = self._match_id(url)
'''
webpage = self._download_webpage( webpage = self._download_webpage(
r'https://cdn\.acidcow\.com/pics/[0-9]+/video/\S', video_id r'https://cdn\.acidcow\.com/pics/[0-9]+/video/\S', video_id
) )
'''
webpage = self._download_webpage(
"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')
download_url = self._html_search_regex( download_url = self._html_search_regex(