[tumblr:search] fix 'ValueError: not enough values to unpack' (#8079)
fixes regression introduced in 21160a8b08
This commit is contained in:
@@ -381,28 +381,33 @@ __tests__ = (
|
||||
|
||||
{
|
||||
"#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,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.tumblr.com/search/nathan%20fielder?t=90",
|
||||
"#category": ("", "tumblr", "search"),
|
||||
"#class" : tumblr.TumblrSearchExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://tumblr.com/search/nathan%20fielder?t=90",
|
||||
"#category": ("", "tumblr", "search"),
|
||||
"#class" : tumblr.TumblrSearchExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.tumblr.com/search/Sonic?src=typed_query",
|
||||
"#class" : tumblr.TumblrSearchExtractor,
|
||||
"#options" : {"original": False},
|
||||
"#pattern" : r"https://\w+\.media\.tumblr\.com/.{10,}.\w+",
|
||||
"#range" : "1-10",
|
||||
"count" : range(1, 10),
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://www.tumblr.com/mikf123/following",
|
||||
"#class" : tumblr.TumblrFollowingExtractor,
|
||||
|
||||
Reference in New Issue
Block a user