# -*- coding: iso-8859-1 -*- # Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs # Copyright (C) 2012 Bastian Kleineidam from re import compile, MULTILINE from ..scraper import _BasicScraper class YAFGC(_BasicScraper): latestUrl = 'http://yafgc.shipsinker.com/' stripUrl = latestUrl + 'index.php?strip_id=%s' imageSearch = compile(r'(istrip_.+?)"') prevSearch = compile(r'(/.+?)">\r\n.+?prev.gif', MULTILINE) help = 'Index format: n' class YouSayItFirst(_BasicScraper): latestUrl = 'http://www.yousayitfirst.com/' stripUrl = 'http://www.soapylemon.com/comics/index.php?date=%s' imageSearch = compile(r'(http://.+?comics/.+?.jpg)[^<]') prevSearch = compile(r'(/comics/index.php\?date=.+?)".+?P') help = 'Index format: yyyymmdd' class Yirmumah(_BasicScraper): latestUrl = 'http://yirmumah.net/archives.php' stripUrl = latestUrl + '?date=%s' imageSearch = compile(r'.*Previous') help = 'Index format: yyyymmdd'