[sexcom] update 'search' extractor (#7807)

This commit is contained in:
Mike Fährmann
2025-07-18 20:28:37 +02:00
parent 22ec1aad9a
commit b0a33d402d
2 changed files with 84 additions and 15 deletions

View File

@@ -223,4 +223,31 @@ __tests__ = (
"#class" : sexcom.SexcomSearchExtractor,
},
{
"#url" : "https://www.sex.com/en/gifs?search=bed",
"#class" : sexcom.SexcomSearchExtractor,
"#pattern" : r"https://imagex1.sx.cdn.live/images/pinporn/\d\d\d\d/\d\d/\d\d/\d+\.gif",
"#range" : "1-50",
"#count" : 50,
"date" : "type:datetime",
"date_url" : "type:datetime",
"extension" : "gif",
"externalId" : int,
"filename" : str,
"width" : range(10, 1000),
"height" : range(10, 1000),
"pin_id" : int,
"search" : {
"order" : "likeCount",
"search" : "bed",
"sexual-orientation": "straight",
"type" : "gif",
},
"title" : str,
"type" : "gif",
"uri" : str,
"url" : str,
},
)