[fanleaks] update 'model' URL pattern
This commit is contained in:
@@ -77,7 +77,8 @@ class FanleaksPostExtractor(FanleaksExtractor):
|
|||||||
class FanleaksModelExtractor(FanleaksExtractor):
|
class FanleaksModelExtractor(FanleaksExtractor):
|
||||||
"""Extractor for all posts from a fanleaks model"""
|
"""Extractor for all posts from a fanleaks model"""
|
||||||
subcategory = "model"
|
subcategory = "model"
|
||||||
pattern = r"(?:https?://)?(?:www\.)?fanleaks\.club/(?!latest/?$)([^/?#]+)"
|
pattern = (r"(?:https?://)?(?:www\.)?fanleaks\.club"
|
||||||
|
r"/(?!latest/?$)([^/?#]+)/?$")
|
||||||
test = (
|
test = (
|
||||||
("https://fanleaks.club/hannahowo", {
|
("https://fanleaks.club/hannahowo", {
|
||||||
"pattern": (r"https://fanleaks\.club//models"
|
"pattern": (r"https://fanleaks\.club//models"
|
||||||
|
|||||||
Reference in New Issue
Block a user