[webtoons] match arbitrary language codes (closes #1643)
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
from .common import GalleryExtractor, Extractor, Message
|
from .common import GalleryExtractor, Extractor, Message
|
||||||
from .. import exception, text, util
|
from .. import exception, text, util
|
||||||
|
|
||||||
BASE_PATTERN = r"(?:https?://)?(?:www\.)?webtoons\.com/((en|fr)"
|
BASE_PATTERN = r"(?:https?://)?(?:www\.)?webtoons\.com/(([^/?#]+)"
|
||||||
|
|
||||||
|
|
||||||
class WebtoonsBase():
|
class WebtoonsBase():
|
||||||
@@ -118,6 +118,9 @@ class WebtoonsComicExtractor(WebtoonsBase, Extractor):
|
|||||||
"list?title_no=210827&page=9"), {
|
"list?title_no=210827&page=9"), {
|
||||||
"count": ">= 18",
|
"count": ">= 18",
|
||||||
}),
|
}),
|
||||||
|
# (#1643)
|
||||||
|
("https://www.webtoons.com/es/romance/lore-olympus/"
|
||||||
|
"list?title_no=1725"),
|
||||||
)
|
)
|
||||||
|
|
||||||
def __init__(self, match):
|
def __init__(self, match):
|
||||||
|
|||||||
Reference in New Issue
Block a user