[e621] add 'artist' & 'artist-search' extractors (#8448)

This commit is contained in:
Mike Fährmann
2025-10-22 10:33:52 +02:00
parent 06e3126bba
commit df1b6204c6
3 changed files with 71 additions and 3 deletions

View File

@@ -167,4 +167,47 @@ __tests__ = (
"#results" : "https://e621.net/posts?tags=rating:safe",
},
{
"#url" : "https://e621.net/artists/54632",
"#category": ("E621", "e621", "artist"),
"#class" : e621.E621ArtistExtractor,
"#results" : "https://e621.net/posts?tags=emsibap",
"created_at" : "2021-05-01T11:28:56.483-04:00",
"creator_id" : 338533,
"domains" : [[
"furaffinity.net",
3,
]],
"group_name" : "",
"id" : 54632,
"is_active" : True,
"is_locked" : False,
"linked_user_id": None,
"name" : "emsibap",
"notes" : None,
"other_names" : [],
"updated_at" : "2021-05-01T11:28:56.488-04:00",
"urls" : [{
"artist_id" : 54632,
"created_at" : "2021-05-01T11:28:56.486-04:00",
"id" : 217681,
"is_active" : True,
"normalized_url": "http://www.furaffinity.net/user/emsibap/",
"updated_at" : "2021-05-01T11:28:56.486-04:00",
"url" : "https://www.furaffinity.net/user/emsibap",
}],
},
{
"#url" : "https://e621.net/artists?search%5Bany_name_or_url_matches%5D=emsi",
"#category": ("E621", "e621", "artist-search"),
"#class" : e621.E621ArtistSearchExtractor,
"#results" : (
"https://e621.net/posts?tags=demsigma",
"https://e621.net/posts?tags=emsibap",
"https://e621.net/posts?tags=aluminemsiren",
),
},
)