From 275370a8355d2fb9e117a3396ed20278a7045d09 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Thu, 9 Jan 2020 03:52:40 +0100 Subject: [PATCH] Drop webcomic.eu (site is gone) Not enough archived history to switch to Internet Archive... --- dosagelib/plugins/old.py | 5 +++- dosagelib/plugins/webcomiceu.py | 43 --------------------------------- 2 files changed, 4 insertions(+), 44 deletions(-) delete mode 100644 dosagelib/plugins/webcomiceu.py diff --git a/dosagelib/plugins/old.py b/dosagelib/plugins/old.py index 969847722..3f4088da2 100644 --- a/dosagelib/plugins/old.py +++ b/dosagelib/plugins/old.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs # Copyright (C) 2012-2014 Bastian Kleineidam -# Copyright (C) 2015-2019 Tobias Gruetzmacher +# Copyright (C) 2015-2020 Tobias Gruetzmacher from __future__ import absolute_import, division, print_function @@ -586,6 +586,9 @@ class Removed(Scraper): cls('TwoTwoOneFour'), cls('VampireCheerleaders'), cls('WayfarersMoon'), + cls('WebcomicEu/Talandor'), + cls('WebcomicEu/TheBessEffect'), + cls('WebcomicEu/TheBessEffectEnglish'), cls('WebcomicsNation/AgnesQuill'), cls('WebcomicsNation/MyMuse'), cls('WebcomicsNation/NekkoAndJoruba'), diff --git a/dosagelib/plugins/webcomiceu.py b/dosagelib/plugins/webcomiceu.py deleted file mode 100644 index d5d39b9a6..000000000 --- a/dosagelib/plugins/webcomiceu.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (C) 2004-2008 Tristan Seligmann and Jonathan Jacobs -# Copyright (C) 2012-2014 Bastian Kleineidam -# Copyright (C) 2015-2016 Tobias Gruetzmacher - -from __future__ import absolute_import, division, print_function - -from ..scraper import _ParserScraper - - -class _WebcomicEu(_ParserScraper): - imageSearch = '//img[@id="comicimg"]' - prevSearch = '//a[img[contains(@src, "navi-zurueck")]]' - help = 'Index format: number' - - def __init__(self, name): - super(_WebcomicEu, self).__init__('WebcomicEu/' + name) - - @property - def url(self): - return 'http://%s.webcomic.eu/' % self.sub - - @property - def stripUrl(self): - return self.url + '?id=%s' - - @property - def firstStripUrl(self): - return self.stripUrl % '1' - - -class TheBessEffect(_WebcomicEu): - lang = 'de' - sub = 'thebesseffect' - - -class TheBessEffectEnglish(_WebcomicEu): - sub = 'tbe-english' - - -class Talandor(_WebcomicEu): - lang = 'de' - sub = 'talandor'