diff options
| author | 2026-01-06 04:25:00 -0500 | |
|---|---|---|
| committer | 2026-01-06 04:25:00 -0500 | |
| commit | 77589574c157fbf651dd251079cd02f6e282e623 (patch) | |
| tree | 3765f27e6b5fe6c5050fa952347c686021718606 /gallery_dl/extractor/hdoujin.py | |
| parent | d4b96bc46d493f54e12c06d98115fccaab1b7ed2 (diff) | |
| parent | 385e4bfb1e426d23417ac788a6f44d639e226c89 (diff) | |
Update upstream source from tag 'upstream/1.31.2'
Update to upstream version '1.31.2'
with Debian dir 4ebe0ca706fc53eceb778881b680572ca5a0231c
Diffstat (limited to 'gallery_dl/extractor/hdoujin.py')
| -rw-r--r-- | gallery_dl/extractor/hdoujin.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gallery_dl/extractor/hdoujin.py b/gallery_dl/extractor/hdoujin.py index 080b899..927aea2 100644 --- a/gallery_dl/extractor/hdoujin.py +++ b/gallery_dl/extractor/hdoujin.py @@ -23,19 +23,19 @@ class HdoujinBase(): class HdoujinGalleryExtractor( HdoujinBase, schalenetwork.SchalenetworkGalleryExtractor): - pattern = rf"{BASE_PATTERN}/(?:g|reader)/(\d+)/(\w+)" + pattern = BASE_PATTERN + r"/(?:g|reader)/(\d+)/(\w+)" example = "https://hdoujin.org/g/12345/67890abcdef/" class HdoujinSearchExtractor( HdoujinBase, schalenetwork.SchalenetworkSearchExtractor): - pattern = rf"{BASE_PATTERN}/(?:tag/([^/?#]+)|browse)?(?:/?\?([^#]*))?$" + pattern = BASE_PATTERN + r"/(?:tag/([^/?#]+)|browse)?(?:/?\?([^#]*))?$" example = "https://hdoujin.org/browse?s=QUERY" class HdoujinFavoriteExtractor( HdoujinBase, schalenetwork.SchalenetworkFavoriteExtractor): - pattern = rf"{BASE_PATTERN}/favorites(?:\?([^#]*))?" + pattern = BASE_PATTERN + r"/favorites(?:\?([^#]*))?" example = "https://hdoujin.org/favorites" |
