Add Hackles

This commit is contained in:
Techwolf 2021-05-19 20:26:34 -07:00
parent 615dee26e7
commit c50b872939

View file

@ -5,12 +5,21 @@
# Copyright (C) 2019-2020 Daniel Ring # Copyright (C) 2019-2020 Daniel Ring
from re import compile, escape from re import compile, escape
from ..scraper import _BasicScraper from ..scraper import _BasicScraper, _ParserScraper
from ..util import tagre from ..util import tagre
from ..helpers import bounceStarter, indirectStarter from ..helpers import bounceStarter, indirectStarter
from .common import _ComicControlScraper, _WordPressScraper, _WPNaviIn from .common import _ComicControlScraper, _WordPressScraper, _WPNaviIn
class Hackles(_ParserScraper):
url = 'http://hackles.org/'
stripUrl = url + 'cgi-bin/archives.pl?request=%s'
firstStripUrl = stripUrl % '1'
imageSearch = '//img[contains(@src, "strips/")]'
prevSearch = '//a[text()="< previous"]'
endOfLife = True
class HagarTheHorrible(_BasicScraper): class HagarTheHorrible(_BasicScraper):
url = 'http://www.hagarthehorrible.net/' url = 'http://www.hagarthehorrible.net/'
stripUrl = 'http://www.hagardunor.net/comicstrips_us.php?serietype=9&colortype=1&serieno=%s' stripUrl = 'http://www.hagardunor.net/comicstrips_us.php?serietype=9&colortype=1&serieno=%s'