[fanleaks] update 'model' URL pattern

This commit is contained in:
enduser420
2022-12-30 19:29:55 +05:30
parent 5a740ef78b
commit 5fedef3a1a

View File

@@ -77,7 +77,8 @@ class FanleaksPostExtractor(FanleaksExtractor):
class FanleaksModelExtractor(FanleaksExtractor):
"""Extractor for all posts from a fanleaks model"""
subcategory = "model"
pattern = r"(?:https?://)?(?:www\.)?fanleaks\.club/(?!latest/?$)([^/?#]+)"
pattern = (r"(?:https?://)?(?:www\.)?fanleaks\.club"
r"/(?!latest/?$)([^/?#]+)/?$")
test = (
("https://fanleaks.club/hannahowo", {
"pattern": (r"https://fanleaks\.club//models"