diff options
| author | 2025-03-29 07:20:04 -0400 | |
|---|---|---|
| committer | 2025-03-29 07:20:04 -0400 | |
| commit | 5ea6cce4fb40d2cc4f1d7849e44e6825ac2f3a73 (patch) | |
| tree | 2d7040d732323306b2227682068ed5c9e12d4bf0 /gallery_dl/extractor/mastodon.py | |
| parent | 68863e88e0e0d8c08a8631831c05c302527627b1 (diff) | |
| parent | 662e5ac868a5c1a3e7bc95b37054b3a0ca4db74f (diff) | |
Update upstream source from tag 'upstream/1.29.3'
Update to upstream version '1.29.3'
with Debian dir 131b9b3bdbc67af5fe84f139a5b499a550f7c22b
Diffstat (limited to 'gallery_dl/extractor/mastodon.py')
| -rw-r--r-- | gallery_dl/extractor/mastodon.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gallery_dl/extractor/mastodon.py b/gallery_dl/extractor/mastodon.py index 5b354ac..5e78ad4 100644 --- a/gallery_dl/extractor/mastodon.py +++ b/gallery_dl/extractor/mastodon.py @@ -196,7 +196,8 @@ class MastodonFollowingExtractor(MastodonExtractor): class MastodonStatusExtractor(MastodonExtractor): """Extractor for images from a status""" subcategory = "status" - pattern = BASE_PATTERN + r"/@[^/?#]+/(?!following)([^/?#]+)" + pattern = (BASE_PATTERN + r"/(?:@[^/?#]+|(?:users/[^/?#]+/)?statuses)" + r"/(?!following)([^/?#]+)") example = "https://mastodon.social/@USER/12345" def statuses(self): |
