[hentai2read] fix and update keywords
Added the "author" keyword and changed the name of a few others to be consistent with other manga/chapter extractors.
This commit is contained in:
@@ -40,7 +40,7 @@ class HentaihereChapterExtractor(hentaicdn.HentaicdnChapterExtractor):
|
||||
pattern = [r"(?:https?://)?(?:www\.)?hentaihere\.com/m/S(\d+)/(\d+)"]
|
||||
test = [("https://hentaihere.com/m/S13812/1/1/", {
|
||||
"url": "964b942cf492b3a129d2fe2608abfc475bc99e71",
|
||||
"keyword": "e8625ccca8466a5dee089394fc29efea6d6e2950",
|
||||
"keyword": "fd6e515ccf073e3b57d39c5cb472692858bddb88",
|
||||
})]
|
||||
|
||||
def __init__(self, match):
|
||||
@@ -55,11 +55,11 @@ class HentaihereChapterExtractor(hentaicdn.HentaicdnChapterExtractor):
|
||||
pattern = r"Page 1 \| (.+) \(([^)]+)\) - Chapter \d+: (.+) by (.+) at "
|
||||
match = re.match(pattern, title)
|
||||
return {
|
||||
"gallery-id": self.gid,
|
||||
"title": match.group(1),
|
||||
"manga-id": self.gid,
|
||||
"manga": match.group(1),
|
||||
"type": match.group(2),
|
||||
"chapter": self.chapter,
|
||||
"chapter-name": match.group(3),
|
||||
"title": match.group(3),
|
||||
"author": match.group(4),
|
||||
"count": len(images),
|
||||
"lang": "en",
|
||||
|
||||
Reference in New Issue
Block a user