mirror of
https://github.com/soimort/you-get.git
synced 2025-02-09 03:37:52 +03:00
AcFun: fixed
This commit is contained in:
parent
c9e42201ba
commit
b6cf508ac9
@ -58,7 +58,7 @@ def acfun_download(url, output_dir = '.', merge = True, info_only = False):
|
|||||||
title = escape_file_path(title)
|
title = escape_file_path(title)
|
||||||
assert title
|
assert title
|
||||||
|
|
||||||
videos = re.findall("data-vid=\"(\d+)\" href=\"[^\"]+\" title=\"([^\"]+)\"", html)
|
videos = re.findall("data-vid=\"(\d+)\".*href=\"[^\"]+\".*title=\"([^\"]+)\"", html)
|
||||||
if videos is not None:
|
if videos is not None:
|
||||||
for video in videos:
|
for video in videos:
|
||||||
p_vid = video[0]
|
p_vid = video[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user