[lensdump] support new pattern of direct file URLs (#8251)

This commit is contained in:
Mike Fährmann
2025-09-21 08:21:13 +02:00
parent b79d35e5f2
commit 6df17cc621
2 changed files with 25 additions and 8 deletions

View File

@@ -100,7 +100,8 @@ class LensdumpImageExtractor(LensdumpBase, Extractor):
filename_fmt = "{category}_{id}{title:?_//}.{extension}"
directory_fmt = ("{category}",)
archive_fmt = "{id}"
pattern = r"(?:https?://)?(?:(?:i\d?\.)?lensdump\.com|\w\.l3n\.co)/i/(\w+)"
pattern = (r"(?:https?://)?(?:(?:i\d?\.)?lensdump\.com|\w\.l3n\.co)"
r"/(?:i/)?(\w+)")
example = "https://lensdump.com/i/ID"
def items(self):