# -*- coding: iso-8859-1 -*- # Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs from re import compile, IGNORECASE from ..scraper import _BasicScraper from ..helpers import queryNamer class MadamAndEve(_BasicScraper): latestUrl = 'http://www.madamandeve.co.za/week_of_cartns.php' imageUrl = 'http://www.madamandeve.co.za/week_of_cartns.php' imageSearch = compile(r'') prevSearch = compile(r'
«
') help = 'Index format: good luck !' class Meek(_BasicScraper): latestUrl = 'http://www.meekcomic.com/' imageUrl = 'http://www.meekcomic.com/%s' imageSearch = compile(r'meekcomic.com(/comics/.+?)"') prevSearch = compile(r'\s.+?(http://www.meekcomic.com/.+?)".+?Previous<') help = 'Index format: yyyy/mm/dd/ch-p/' class MegaTokyo(_BasicScraper): latestUrl = 'http://www.megatokyo.com/' imageUrl = 'http://www.megatokyo.com/strip/%s' imageSearch = compile(r'"(strips/.+?)"', IGNORECASE) prevSearch = compile(r'"(./strip/\d+?)">Prev') help = 'Index format: nnnn' class MyPrivateLittleHell(_BasicScraper): latestUrl = 'http://mutt.purrsia.com/mplh/' imageUrl = 'http://mutt.purrsia.com/mplh/?date=%s' imageSearch = compile(r'Prev') help = 'Index format: mm/dd/yyyy' class MacHall(_BasicScraper): latestUrl = 'http://www.machall.com/' imageUrl = 'http://www.machall.com/view.php?date=%s' imageSearch = compile(r']+?src=\'drop_shadow/previous.gif\'>') help = 'Index format: yyyy-mm-dd' class Misfile(_BasicScraper): latestUrl = 'http://www.misfile.com/' imageUrl = 'http://www.misfile.com/?page=%s' imageSearch = compile(r'') prevSearch = compile(r'') help = 'Index format: yyyy/mm/dd/strip-name'