remove '&' from URL patterns
'/?&#' -> '/?#' and '?&#' -> '?#' According to https://www.ietf.org/rfc/rfc3986.txt, URLs are "organized hierarchically" by using "the slash ("/"), question mark ("?"), and number sign ("#") characters to delimit components"
This commit is contained in:
@@ -44,7 +44,7 @@ class DynastyscansBase():
|
||||
|
||||
class DynastyscansChapterExtractor(DynastyscansBase, ChapterExtractor):
|
||||
"""Extractor for manga-chapters from dynasty-scans.com"""
|
||||
pattern = BASE_PATTERN + r"(/chapters/[^/?&#]+)"
|
||||
pattern = BASE_PATTERN + r"(/chapters/[^/?#]+)"
|
||||
test = (
|
||||
(("http://dynasty-scans.com/chapters/"
|
||||
"hitoribocchi_no_oo_seikatsu_ch33"), {
|
||||
|
||||
Reference in New Issue
Block a user