[mangakakalot] update domain
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2020 Jake Mannens
|
||||
# Copyright 2021 Mike Fährmann
|
||||
# Copyright 2021-2022 Mike Fährmann
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as
|
||||
@@ -13,17 +13,18 @@ from .common import ChapterExtractor, MangaExtractor
|
||||
from .. import text
|
||||
import re
|
||||
|
||||
BASE_PATTERN = r"(?:https?://)?(?:ww[\dw]?\.)?mangakakalot\.tv"
|
||||
|
||||
|
||||
class MangakakalotBase():
|
||||
"""Base class for mangakakalot extractors"""
|
||||
category = "mangakakalot"
|
||||
root = "https://ww.mangakakalot.tv"
|
||||
root = "https://ww3.mangakakalot.tv"
|
||||
|
||||
|
||||
class MangakakalotChapterExtractor(MangakakalotBase, ChapterExtractor):
|
||||
"""Extractor for manga chapters from mangakakalot.tv"""
|
||||
pattern = (r"(?:https?://)?(?:www?\.)?mangakakalot\.tv"
|
||||
r"(/chapter/[^/?#]+/chapter[_-][^/?#]+)")
|
||||
pattern = BASE_PATTERN + r"(/chapter/[^/?#]+/chapter[_-][^/?#]+)"
|
||||
test = (
|
||||
("https://ww.mangakakalot.tv/chapter/manga-hl984546/chapter-6", {
|
||||
"pattern": r"https://cm\.blazefast\.co"
|
||||
@@ -78,8 +79,7 @@ class MangakakalotChapterExtractor(MangakakalotBase, ChapterExtractor):
|
||||
class MangakakalotMangaExtractor(MangakakalotBase, MangaExtractor):
|
||||
"""Extractor for manga from mangakakalot.tv"""
|
||||
chapterclass = MangakakalotChapterExtractor
|
||||
pattern = (r"(?:https?://)?(?:www?\.)?mangakakalot\.tv"
|
||||
r"(/manga/[^/?#]+)")
|
||||
pattern = BASE_PATTERN + r"(/manga/[^/?#]+)"
|
||||
test = (
|
||||
("https://ww.mangakakalot.tv/manga/lk921810", {
|
||||
"url": "654d040c17728c9c8756fce7092b084e8dcf67d2",
|
||||
|
||||
Reference in New Issue
Block a user