[tumblr] update

- simplify
- fix search pagination
- support custom search mode and post types
This commit is contained in:
Mike Fährmann
2024-11-07 22:15:49 +01:00
parent 0f94fa9015
commit 33778d35ba
2 changed files with 50 additions and 58 deletions

View File

@@ -361,7 +361,13 @@ __tests__ = (
},
{
"#url" : "https://www.tumblr.com/search/nathan fielder?src=typed_query",
"#url" : "https://www.tumblr.com/search/nathan fielder",
"#category": ("", "tumblr", "search"),
"#class" : tumblr.TumblrSearchExtractor,
},
{
"#url" : "https://www.tumblr.com/search/nathan fielder/recent/quote?src=typed_query",
"#category": ("", "tumblr", "search"),
"#class" : tumblr.TumblrSearchExtractor,
},