# -*- coding: utf-8 -*- # Copyright 2015-2017 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. """Extract manga-chapters and entire manga from http://www.mangareader.net/""" from .common import AsynchronousExtractor, MangaExtractor, Message from .. import text, util class MangareaderBase(): """Base class for mangareader extractors""" category = "mangareader" root = "http://www.mangareader.net" @staticmethod def parse_page(page, data): """Parse metadata on 'page' and add it to 'data'""" text.extract_all(page, ( ("manga" , '