[pillowfort] support '/tagged/' URLs (#4570)

This commit is contained in:
Mike Fährmann
2023-09-23 00:11:01 +02:00
parent 1d2fd0b831
commit 1e31fce37b
2 changed files with 9 additions and 1 deletions

View File

@@ -132,7 +132,7 @@ class PillowfortPostExtractor(PillowfortExtractor):
class PillowfortUserExtractor(PillowfortExtractor):
"""Extractor for all posts of a pillowfort user"""
subcategory = "user"
pattern = BASE_PATTERN + r"/(?!posts/)([^/?#]+)"
pattern = BASE_PATTERN + r"/(?!posts/)([^/?#]+(?:/tagged/[^/?#]+)?)"
example = "https://www.pillowfort.social/USER"
def posts(self):