'match.group(N)' -> 'match[N]' (#7671)

2.5x faster
This commit is contained in:
Mike Fährmann
2025-06-18 12:59:37 +02:00
parent 475506cc39
commit 41191bb60a
135 changed files with 363 additions and 363 deletions

View File

@@ -25,7 +25,7 @@ class RawkumaChapterExtractor(RawkumaBase, ChapterExtractor):
example = "https://rawkuma.net/TITLE-chapter-123/"
def __init__(self, match):
url = "{}/{}/".format(self.root, match.group(1))
url = "{}/{}/".format(self.root, match[1])
ChapterExtractor.__init__(self, match, url)
def metadata(self, page):
@@ -61,7 +61,7 @@ class RawkumaMangaExtractor(RawkumaBase, MangaExtractor):
example = "https://rawkuma.net/manga/TITLE/"
def __init__(self, match):
url = "{}/manga/{}/".format(self.root, match.group(1))
url = "{}/manga/{}/".format(self.root, match[1])
MangaExtractor.__init__(self, match, url)
def chapters(self, page):