1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

acidcow_ver_1.5

This commit is contained in:
Dante 2020-03-30 21:34:02 -07:00
parent 1893ea5590
commit 646e6fe600

View File

@ -34,13 +34,20 @@ class acidcowIE(InfoExtractor):
) )
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(
r'<video src="https://cdn\.acidcow\.com/pics/[0-9]+/video/\S+" .+', r'<video src="https://cdn\.acidcow\.com/pics/[0-9]+/video/\S+" .+',
webpage, "download_url" webpage, "download_url"
) )
'''
download_url = self._html_search_regex(
r'<https://cdn\.acidcow\.com/pics/[0-9]+/video/\S+',
webpage, "download_url"
)
return { return {
'id': video_id, 'id': video_id,
'url': download_url, 'url': download_url,