remove explicit (sub)category keywords

This commit is contained in:
Mike Fährmann
2016-09-25 14:22:07 +02:00
parent a347d50ef5
commit 19c2d4ff6f
43 changed files with 26 additions and 104 deletions

View File

@@ -63,7 +63,6 @@ class PowermangaChapterExtractor(Extractor):
json_data, pos = text.extract(page, 'var pages = ', ';', pos)
match = re.match(r"(\w+ (\d+)([^:+]*)(?:: (.*))?|[^:]+)", chapter)
return {
"category": self.category,
"manga": text.unescape(manga),
"chapter": match.group(2) or match.group(1),
"chapter-minor": match.group(3) or "",