aboutsummaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/tcbscans.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/tcbscans.py')
-rw-r--r--gallery_dl/extractor/tcbscans.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/tcbscans.py b/gallery_dl/extractor/tcbscans.py
index 71431ad..6dcb153 100644
--- a/gallery_dl/extractor/tcbscans.py
+++ b/gallery_dl/extractor/tcbscans.py
@@ -19,7 +19,7 @@ class TcbscansChapterExtractor(ChapterExtractor):
example = "https://tcbscans.me/chapters/12345/MANGA-chapter-123"
def __init__(self, match):
- self.root = text.root_from_url(match.group(0))
+ self.root = text.root_from_url(match[0])
ChapterExtractor.__init__(self, match)
def images(self, page):
@@ -48,7 +48,7 @@ class TcbscansMangaExtractor(MangaExtractor):
example = "https://tcbscans.me/mangas/123/MANGA"
def __init__(self, match):
- self.root = text.root_from_url(match.group(0))
+ self.root = text.root_from_url(match[0])
MangaExtractor.__init__(self, match)
def chapters(self, page):