From ea8113ff36aef65f67362e6cd2971629ecb61852 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Wed, 19 Oct 2022 10:52:33 +0200 Subject: [PATCH] [reactor] match 'best', 'new', 'all' URLs (#3073) --- gallery_dl/extractor/reactor.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gallery_dl/extractor/reactor.py b/gallery_dl/extractor/reactor.py index db8d7004..448dc1bc 100644 --- a/gallery_dl/extractor/reactor.py +++ b/gallery_dl/extractor/reactor.py @@ -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"), @@ -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",