Revert "use f-strings when building 'pattern'"

revert d7c97d5a97.
This commit is contained in:
Mike Fährmann
2025-12-20 20:44:23 +01:00
parent 19a27a47b3
commit e006d26c8e
133 changed files with 607 additions and 607 deletions

View File

@@ -72,7 +72,7 @@ class TapasExtractor(Extractor):
class TapasEpisodeExtractor(TapasExtractor):
subcategory = "episode"
pattern = rf"{BASE_PATTERN}/episode/(\d+)"
pattern = BASE_PATTERN + r"/episode/(\d+)"
example = "https://tapas.io/episode/12345"
def items(self):
@@ -116,7 +116,7 @@ class TapasEpisodeExtractor(TapasExtractor):
class TapasSeriesExtractor(TapasExtractor):
subcategory = "series"
pattern = rf"{BASE_PATTERN}/series/([^/?#]+)"
pattern = BASE_PATTERN + r"/series/([^/?#]+)"
example = "https://tapas.io/series/TITLE"
def items(self):
@@ -150,7 +150,7 @@ class TapasSeriesExtractor(TapasExtractor):
class TapasCreatorExtractor(TapasExtractor):
subcategory = "creator"
pattern = rf"{BASE_PATTERN}/(?!series|episode)([^/?#]+)"
pattern = BASE_PATTERN + r"/(?!series|episode)([^/?#]+)"
example = "https://tapas.io/CREATOR"
def items(self):