aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/tapas.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-12-20 05:49:11 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2025-12-20 05:49:11 -0500
commitc586ea4b3c871f5696626f9820e8c88a4e78f4a6 (patch)
treee6d7bae96282c3d147159f091d451e53bdaa2efe /gallery_dl/extractor/tapas.py
parent01a2bf622c31072d1322884584404b9bd59b28cc (diff)
parenta24ec1647aeac35a63b744ea856011ad6e06be3b (diff)
Update upstream source from tag 'upstream/1.31.1'
Update to upstream version '1.31.1' with Debian dir b5d91c25143175f933b1c69c7e82249cd7e145ab
Diffstat (limited to 'gallery_dl/extractor/tapas.py')
-rw-r--r--gallery_dl/extractor/tapas.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/gallery_dl/extractor/tapas.py b/gallery_dl/extractor/tapas.py
index d823f6a..5f8cb67 100644
--- a/gallery_dl/extractor/tapas.py
+++ b/gallery_dl/extractor/tapas.py
@@ -72,7 +72,7 @@ class TapasExtractor(Extractor):
class TapasEpisodeExtractor(TapasExtractor):
subcategory = "episode"
- pattern = BASE_PATTERN + r"/episode/(\d+)"
+ pattern = rf"{BASE_PATTERN}/episode/(\d+)"
example = "https://tapas.io/episode/12345"
def items(self):
@@ -89,8 +89,8 @@ class TapasEpisodeExtractor(TapasExtractor):
html = data["html"]
episode["series"] = self._extract_series(html)
- episode["date"] = text.parse_datetime(episode["publish_date"])
- yield Message.Directory, episode
+ episode["date"] = self.parse_datetime_iso(episode["publish_date"])
+ yield Message.Directory, "", episode
if episode["book"]:
content = text.extr(
@@ -116,7 +116,7 @@ class TapasEpisodeExtractor(TapasExtractor):
class TapasSeriesExtractor(TapasExtractor):
subcategory = "series"
- pattern = BASE_PATTERN + r"/series/([^/?#]+)"
+ pattern = rf"{BASE_PATTERN}/series/([^/?#]+)"
example = "https://tapas.io/series/TITLE"
def items(self):
@@ -150,7 +150,7 @@ class TapasSeriesExtractor(TapasExtractor):
class TapasCreatorExtractor(TapasExtractor):
subcategory = "creator"
- pattern = BASE_PATTERN + r"/(?!series|episode)([^/?#]+)"
+ pattern = rf"{BASE_PATTERN}/(?!series|episode)([^/?#]+)"
example = "https://tapas.io/CREATOR"
def items(self):