[e621] support 'e621.cc/posts' URLs (#6809)

https://github.com/mikf/gallery-dl/issues/6809#issuecomment-3043180010
This commit is contained in:
Mike Fährmann
2025-07-07 08:44:31 +02:00
parent 0dfe7e25a5
commit 1aa8fe7c10
2 changed files with 7 additions and 1 deletions

View File

@@ -75,7 +75,7 @@ class E621Extractor(danbooru.DanbooruExtractor):
BASE_PATTERN = E621Extractor.update({
"e621": {
"root": "https://e621.net",
"pattern": r"e621\.net",
"pattern": r"e621\.(?:net|cc)",
},
"e926": {
"root": "https://e926.net",

View File

@@ -147,6 +147,12 @@ __tests__ = (
"#count" : 15,
},
{
"#url" : "https://e621.cc/posts?tags=rating:safe",
"#category": ("E621", "e621", "tag"),
"#class" : e621.E621TagExtractor,
},
{
"#url" : "https://e621.cc/?tags=rating:safe",
"#category": ("E621", "e621", "frontend"),