Skip to content

Commit

Permalink
fixed quick redirection regex __init__.py
Browse files Browse the repository at this point in the history
a solution was proposed multiple days ago but no one was commiting it to the repo so created this commit based on justfoolingaround#295
  • Loading branch information
shashstormer authored Jan 1, 2024
1 parent c7c3b79 commit 4f4bb63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion animdl/core/codebase/providers/animepahe/inner/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
KWIK_D_URL = regex.compile(r'action="(.+?)"')
KWIK_D_TOKEN = regex.compile(r'value="(.+?)"')

KWIK_REDIRECTION_RE = regex.compile(r'<a href="(.+?)" .+?>Redirect me</a>')
KWIK_REDIRECTION_RE = regex.compile(r';\$\("a\.redirect"\)\.attr\("href","(.+?)"\)\.html\("Continue"\);')

CHARACTER_MAP = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+/"

Expand Down

0 comments on commit 4f4bb63

Please sign in to comment.