Skip to content

Commit

Permalink
[reactor] match 'best', 'new', 'all' URLs (#3073)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Oct 19, 2022
1 parent 618c81a commit ea8113f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gallery_dl/extractor/reactor.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class ReactorTagExtractor(ReactorExtractor):
subcategory = "tag"
directory_fmt = ("{category}", "{search_tags}")
archive_fmt = "{search_tags}_{post_id}_{num}"
pattern = BASE_PATTERN + r"/tag/([^/?#]+)"
pattern = BASE_PATTERN + r"/tag/([^/?#]+)(?:/[^/?#]+)?"
test = (
("http://reactor.cc/tag/gif"),
("http://anime.reactor.cc/tag/Anime+Art"),
Expand All @@ -180,6 +180,10 @@ class ReactorTagExtractor(ReactorExtractor):
("http://joyreactor.com/tag/Cirno", {
"url": "aa59090590b26f4654881301fe8fe748a51625a8",
}),
# 'best' rating (#3073)
("http://joyreactor.com/tag/Dark+Souls+2/best", {
"count": 4,
}),
("http://pornreactor.cc/tag/RiceGnat", {
"range": "1-25",
"count": ">= 25",
Expand Down

0 comments on commit ea8113f

Please sign in to comment.