From 7626b1e100de190439e3f65f13e716b6cf52f2be Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Thu, 14 Apr 2016 22:46:52 +0200 Subject: [PATCH] Webcomics Nation is gone. --- dosagelib/plugins/webcomicnation.py | 32 ----------------------------- 1 file changed, 32 deletions(-) delete mode 100644 dosagelib/plugins/webcomicnation.py diff --git a/dosagelib/plugins/webcomicnation.py b/dosagelib/plugins/webcomicnation.py deleted file mode 100644 index ccfa011ca..000000000 --- a/dosagelib/plugins/webcomicnation.py +++ /dev/null @@ -1,32 +0,0 @@ -# -*- coding: iso-8859-1 -*- -# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs -# Copyright (C) 2012-2014 Bastian Kleineidam - -from re import compile, IGNORECASE, DOTALL -from ..scraper import make_scraper - -_imageSearch = compile(r'.*?]+?src="([^"]*?memberimages/.+?)"', IGNORECASE + DOTALL) -_prevSearch = compile(r'href="([^"]*?whichbutton=prev[^"]*?)"', IGNORECASE) - - -def add(name, subpath): - baseUrl = 'http://www.webcomicsnation.com/' - classname = 'WebcomicsNation_%s' % name - globals()[classname] = make_scraper(classname, - name = 'WebcomicsNation/' + name, - url = baseUrl + subpath, - stripUrl = baseUrl + '?view=archive&chapter=%s', - imageSearch = _imageSearch, - multipleImagesPerStrip = True, - prevSearch = _prevSearch, - # the prevSearch is a redirect - prevUrlMatchesStripUrl = False, - help = 'Index format: nnnn (non-contiguous)', - ) - - -add('AgnesQuill', 'daveroman/agnes/') -add('MyMuse', 'gc/muse/') -add('NekkoAndJoruba', 'nekkoandjoruba/nekkoandjoruba/') -# custom navigation -#add('ClownSamurai', 'qsamurai/clownsamurai/')