[itaku] add 'search' extractor
This commit is contained in:
@@ -78,4 +78,27 @@ __tests__ = (
|
||||
"#urls" : "https://itaku.ee/api/media/gallery_vids/sleepy_af_OY5GHWw.mp4",
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://itaku.ee/home/images?tags=cute",
|
||||
"#comment" : "simple search",
|
||||
"#category": ("", "itaku", "search"),
|
||||
"#class" : itaku.ItakuSearchExtractor,
|
||||
"#count" : "> 1",
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://itaku.ee/home/images?maturity_rating=SFW&date_range=&ordering=-date_added&text=hello&is_video=true",
|
||||
"#comment" : "search for videos",
|
||||
"#category": ("", "itaku", "search"),
|
||||
"#class" : itaku.ItakuSearchExtractor,
|
||||
"#count" : 30,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://itaku.ee/home/images?tags=%2Bcute&tags=-cute&tags=~cute&maturity_rating=SFW&date_range=&ordering=-date_added",
|
||||
"#comment" : "search with postive, negative, and optional tags",
|
||||
"#category": ("", "itaku", "search"),
|
||||
"#class" : itaku.ItakuSearchExtractor,
|
||||
"#count" : 0
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user