diff options
| author | 2023-01-30 04:40:57 -0500 | |
|---|---|---|
| committer | 2023-01-30 04:40:57 -0500 | |
| commit | 919f8ba16a7b82ba1099bd25b2c61c7881a05aa2 (patch) | |
| tree | 50eb34c3286538164a2f2b7048d110dc89b2a971 /gallery_dl/extractor/philomena.py | |
| parent | f1051085013c0d702ef974b9b27ea43b3fc73259 (diff) | |
New upstream version 1.24.5.upstream/1.24.5
Diffstat (limited to 'gallery_dl/extractor/philomena.py')
| -rw-r--r-- | gallery_dl/extractor/philomena.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gallery_dl/extractor/philomena.py b/gallery_dl/extractor/philomena.py index fc85125..df85b96 100644 --- a/gallery_dl/extractor/philomena.py +++ b/gallery_dl/extractor/philomena.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2021-2022 Mike Fährmann +# Copyright 2021-2023 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -56,12 +56,12 @@ class PhilomenaExtractor(BooruExtractor): INSTANCES = { "derpibooru": { "root": "https://derpibooru.org", - "pattern": r"derpibooru\.org", + "pattern": r"(?:www\.)?derpibooru\.org", "filter_id": "56027", }, "ponybooru": { "root": "https://ponybooru.org", - "pattern": r"ponybooru\.org", + "pattern": r"(?:www\.)?ponybooru\.org", "filter_id": "2", }, "furbooru": { @@ -128,9 +128,14 @@ class PhilomenaPostExtractor(PhilomenaExtractor): }, }), ("https://derpibooru.org/1"), + ("https://www.derpibooru.org/1"), + ("https://www.derpibooru.org/images/1"), + ("https://ponybooru.org/images/1", { "content": "bca26f58fafd791fe07adcd2a28efd7751824605", }), + ("https://www.ponybooru.org/images/1"), + ("https://furbooru.org/images/1", { "content": "9eaa1e1b32fa0f16520912257dbefaff238d5fd2", }), |
