[e621] support 'e621.cc/posts' URLs (#6809)
https://github.com/mikf/gallery-dl/issues/6809#issuecomment-3043180010
This commit is contained in:
@@ -75,7 +75,7 @@ class E621Extractor(danbooru.DanbooruExtractor):
|
|||||||
BASE_PATTERN = E621Extractor.update({
|
BASE_PATTERN = E621Extractor.update({
|
||||||
"e621": {
|
"e621": {
|
||||||
"root": "https://e621.net",
|
"root": "https://e621.net",
|
||||||
"pattern": r"e621\.net",
|
"pattern": r"e621\.(?:net|cc)",
|
||||||
},
|
},
|
||||||
"e926": {
|
"e926": {
|
||||||
"root": "https://e926.net",
|
"root": "https://e926.net",
|
||||||
|
|||||||
@@ -147,6 +147,12 @@ __tests__ = (
|
|||||||
"#count" : 15,
|
"#count" : 15,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"#url" : "https://e621.cc/posts?tags=rating:safe",
|
||||||
|
"#category": ("E621", "e621", "tag"),
|
||||||
|
"#class" : e621.E621TagExtractor,
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"#url" : "https://e621.cc/?tags=rating:safe",
|
"#url" : "https://e621.cc/?tags=rating:safe",
|
||||||
"#category": ("E621", "e621", "frontend"),
|
"#category": ("E621", "e621", "frontend"),
|
||||||
|
|||||||
Reference in New Issue
Block a user