[vipergirls] improve 'thread' URL pattern

allow for query parameters and fragments at tne end of URLs
This commit is contained in:
Mike Fährmann
2024-06-29 17:38:57 +02:00
parent ba51c1a8e4
commit d10bfa9065
2 changed files with 14 additions and 1 deletions

View File

@@ -23,6 +23,18 @@ __tests__ = (
"#count" : 1279,
},
{
"#url" : "https://vipergirls.to/threads/4328304-2011-05-28-Danica-Simply-Beautiful-x112-4500x3000?highlight=foobar",
"#category": ("", "vipergirls", "thread"),
"#class" : vipergirls.VipergirlsThreadExtractor,
},
{
"#url" : "https://vipergirls.to/threads/4328304?foo=bar",
"#category": ("", "vipergirls", "thread"),
"#class" : vipergirls.VipergirlsThreadExtractor,
},
{
"#url" : "https://vipergirls.to/threads/4328304",
"#category": ("", "vipergirls", "thread"),