dosage/dosagelib/plugins/z.py
Bastian Kleineidam 958a788550 Fix some comics.
2012-11-21 21:57:26 +01:00

23 lines
682 B
Python

# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
# Copyright (C) 2012 Bastian Kleineidam
from re import compile
from ..scraper import _BasicScraper
class Zapiro(_BasicScraper):
latestUrl = 'http://www.mg.co.za/zapiro/all'
imageSearch = compile(r'<img src="(cartoons/[^"]+)"')
prevSearch = compile(r'<a href="([^"]+)">&gt;')
class ZombieHunters(_BasicScraper):
latestUrl = 'http://www.thezombiehunters.com/'
stripUrl = latestUrl + 'index.php?strip_id=%s'
imageSearch = compile(r'"(.+?strips/.+?)"')
prevSearch = compile(r'</a><a href="(.+?)"><img id="prevcomic" ')
help = 'Index format: n(unpadded)'