[fikfap] improve URL patterns
use '[^/?#]+' for names
This commit is contained in:
@@ -113,6 +113,11 @@ __tests__ = (
|
||||
"userId" : "32f4c8d6-2409-4db8-9e66-d3b5ff0c1a98",
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://fikfap.com/user/Hot-sauce-34/post/1026309",
|
||||
"#class" : fikfap.FikfapPostExtractor,
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://fikfap.com/user/alinevs",
|
||||
"#class" : fikfap.FikfapUserExtractor,
|
||||
@@ -149,4 +154,9 @@ __tests__ = (
|
||||
"hashtag" : "outercourse",
|
||||
},
|
||||
|
||||
{
|
||||
"#url" : "https://fikfap.com/hash/foo-bar",
|
||||
"#class" : fikfap.FikfapHashtagExtractor,
|
||||
},
|
||||
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user