From 5e09b631dbd5da86ce763cf507539fa9c6ee8e65 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Sun, 12 Jan 2020 22:09:03 +0100 Subject: [PATCH] Move EyeOfRamalach to KemonoCafe --- dosagelib/plugins/e.py | 11 +---------- dosagelib/plugins/old.py | 1 + 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/dosagelib/plugins/e.py b/dosagelib/plugins/e.py index eb175fed9..861621c7b 100644 --- a/dosagelib/plugins/e.py +++ b/dosagelib/plugins/e.py @@ -6,7 +6,7 @@ from __future__ import absolute_import, division, print_function import os -from re import compile, escape, IGNORECASE +from re import compile, IGNORECASE from ..helpers import bounceStarter, indirectStarter, xpath_class from ..scraper import _BasicScraper, _ParserScraper @@ -251,12 +251,3 @@ class ExtraOrdinary(_ParserScraper): prevSearch = '//a[%s]' % xpath_class('prev') imageSearch = '//img[%s]' % xpath_class('image-style-main-comic') help = 'Index format: number' - - -class EyeOfRamalach(_BasicScraper): - url = 'http://theeye.katbox.net/' - rurl = escape(url) - stripUrl = url + 'comic/%s/' - imageSearch = compile(tagre("img", "src", r'(%swp-content/uploads/[^"]+)' % rurl, after="data-webcomic-parent")) - prevSearch = compile(tagre("a", "href", r'(%scomic/[^"]+)' % rurl, after="previous")) - help = 'Index format: stripname' diff --git a/dosagelib/plugins/old.py b/dosagelib/plugins/old.py index 1446efb39..a244f5d5e 100644 --- a/dosagelib/plugins/old.py +++ b/dosagelib/plugins/old.py @@ -650,6 +650,7 @@ class Renamed(Scraper): cls('Creators/HeathcliffinSpanish', 'Creators/HeathcliffSpanish'), cls('Creators/TheWizardofIdinSpanish', 'Creators/WizardOfIdSpanish'), cls('DarkWings', 'Eryl'), + cls('EyeOfRamalach', 'KemonoCafe/TheEyeOfRamalach'), cls('FoulLanguage', 'GoComics/FowlLanguage'), cls('GoComics/060', 'ComicSherpa/060'), cls('GoComics/ABitSketch', 'ComicSherpa/ABitSketch'),