move genericcomicreader to a single file for now
This commit is contained in:
parent
2993efcf55
commit
f5aa37e0c2
8 changed files with 11 additions and 6 deletions
|
|
@ -17,7 +17,7 @@
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from weboob.tools.capabilities.gallery.genericcomicreader.backend import GenericComicReaderBackend, DisplayPage
|
from weboob.tools.capabilities.gallery.genericcomicreader import GenericComicReaderBackend, DisplayPage
|
||||||
|
|
||||||
__all__ = ['EatmangaBackend']
|
__all__ = ['EatmangaBackend']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from weboob.tools.capabilities.gallery.genericcomicreader.backend import GenericComicReaderBackend, DisplayPage
|
from weboob.tools.capabilities.gallery.genericcomicreader import GenericComicReaderBackend, DisplayPage
|
||||||
|
|
||||||
__all__ = ['MangafoxBackend']
|
__all__ = ['MangafoxBackend']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from weboob.tools.capabilities.gallery.genericcomicreader.backend import GenericComicReaderBackend, DisplayPage
|
from weboob.tools.capabilities.gallery.genericcomicreader import GenericComicReaderBackend, DisplayPage
|
||||||
|
|
||||||
__all__ = ['MangahereBackend']
|
__all__ = ['MangahereBackend']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from weboob.tools.capabilities.gallery.genericcomicreader.backend import GenericComicReaderBackend, DisplayPage
|
from weboob.tools.capabilities.gallery.genericcomicreader import GenericComicReaderBackend, DisplayPage
|
||||||
|
|
||||||
__all__ = ['MangareaderBackend']
|
__all__ = ['MangareaderBackend']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from weboob.tools.capabilities.gallery.genericcomicreader.backend import GenericComicReaderBackend, DisplayPage
|
from weboob.tools.capabilities.gallery.genericcomicreader import GenericComicReaderBackend, DisplayPage
|
||||||
|
|
||||||
__all__ = ['MangatoshokanBackend']
|
__all__ = ['MangatoshokanBackend']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
# You should have received a copy of the GNU Affero General Public License
|
# You should have received a copy of the GNU Affero General Public License
|
||||||
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from weboob.tools.capabilities.gallery.genericcomicreader.backend import GenericComicReaderBackend, DisplayPage
|
from weboob.tools.capabilities.gallery.genericcomicreader import GenericComicReaderBackend, DisplayPage
|
||||||
|
|
||||||
__all__ = ['SimplyreaditBackend']
|
__all__ = ['SimplyreaditBackend']
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ import re
|
||||||
from weboob.capabilities.gallery import ICapGallery, BaseGallery, BaseImage
|
from weboob.capabilities.gallery import ICapGallery, BaseGallery, BaseImage
|
||||||
from weboob.tools.backend import BaseBackend
|
from weboob.tools.backend import BaseBackend
|
||||||
from weboob.tools.browser import BaseBrowser, BasePage
|
from weboob.tools.browser import BaseBrowser, BasePage
|
||||||
|
from weboob.tools.test import BackendTest
|
||||||
|
|
||||||
__all__ = ['GenericComicReaderBackend']
|
__all__ = ['GenericComicReaderBackend']
|
||||||
|
|
||||||
|
|
@ -74,6 +75,10 @@ class GenericComicReaderBackend(BaseBackend, ICapGallery):
|
||||||
def create_default_browser(self):
|
def create_default_browser(self):
|
||||||
b = self.create_browser(self.BROWSER_PARAMS)
|
b = self.create_browser(self.BROWSER_PARAMS)
|
||||||
b.PAGES = self.PAGES
|
b.PAGES = self.PAGES
|
||||||
|
try:
|
||||||
|
b.DOMAIN = self.DOMAIN
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
return b
|
return b
|
||||||
|
|
||||||
def iter_gallery_images(self, gallery):
|
def iter_gallery_images(self, gallery):
|
||||||
Loading…
Add table
Add a link
Reference in a new issue