[8kun] adjust URL pattern
This commit is contained in:
@@ -64,13 +64,14 @@ class _8kunBoardExtractor(Extractor):
|
|||||||
"""Extractor for 8kun boards"""
|
"""Extractor for 8kun boards"""
|
||||||
category = "8kun"
|
category = "8kun"
|
||||||
subcategory = "board"
|
subcategory = "board"
|
||||||
pattern = r"(?:https?://)?8kun\.top/([^/?&#]+)/(?:index|\d+)\.html$"
|
pattern = r"(?:https?://)?8kun\.top/([^/?&#]+)/(?:index|\d+)\.html"
|
||||||
test = (
|
test = (
|
||||||
("https://8kun.top/v/index.html", {
|
("https://8kun.top/v/index.html", {
|
||||||
"pattern": _8kunThreadExtractor.pattern,
|
"pattern": _8kunThreadExtractor.pattern,
|
||||||
"count": ">= 100",
|
"count": ">= 100",
|
||||||
}),
|
}),
|
||||||
("https://8kun.top/v/2.html"),
|
("https://8kun.top/v/2.html"),
|
||||||
|
("https://8kun.top/v/index.html?PageSpeed=noscript"),
|
||||||
)
|
)
|
||||||
|
|
||||||
def __init__(self, match):
|
def __init__(self, match):
|
||||||
|
|||||||
Reference in New Issue
Block a user