Skip to content

Commit

Permalink
revert change to make tailing slash optional
Browse files Browse the repository at this point in the history
  • Loading branch information
AbbyAbbyAbbyAbby committed Jun 22, 2022
1 parent 3844a73 commit 6bb6886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hydownloader/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ def anchor_patterns_from_url(url: str) -> list[str]:
return [f"rule34{m.group('id')}"]
if m := re.match(r"https?://e621.net/posts/(?P<id>[0-9]+)(&.*)?", u):
return [f"e621{m.group('id')}"]
if m := re.match(r"https?://www\.furaffinity\.net/view/(?P<id>[^&]+)(&.*)?/?", u):
if m := re.match(r"https?://www\.furaffinity\.net/view/(?P<id>[^&]+)(&.*)?/", u):
return [f"furaffinity{m.group('id')}"]

return []
Expand Down

0 comments on commit 6bb6886

Please sign in to comment.