Fix anime-ultime

This commit is contained in:
Michel Roux 2022-12-01 14:03:46 +01:00
parent fc8cbd9540
commit cf0175f02d

View File

@ -17,7 +17,7 @@ root_url = "http://www.anime-ultime.net"
while nextHop:
r1 = requests.get(url)
m1 = re.search("javascript:open_ddlbox('dl_orig', '([0-9]+)', 'orig')", r1.text)
m1 = re.search("javascript:open_ddlbox\('dl_orig', '([0-9]+)', 'orig'\)", r1.text) # noqa: W605
m2 = re.search('submit.*:right;.*(info-0-1)/([0-9]+)/([^"]+)', r1.text)
if m1 is None: