# -*- 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 indirectStarter class OctopusPie(_BasicScraper): starter = indirectStarter('http://www.octopuspie.com/2007-05-14/001-pea-wiggle/', compile(r'latest comic', IGNORECASE)) stripUrl = 'http://www.octopuspie.com/%s' imageSearch = compile(r']+?href=\'(http://www.octopuspie.com/.+?)\'') help = 'Index format: yyyy-mm-dd/nnn-strip-name' class OddFish(_BasicScraper): latestUrl = 'http://www.odd-fish.net/' stripUrl = 'http://www.odd-fish.net/viewing.php?&comic_id=%s' imageSearch = compile(r'', IGNORECASE) starter = indirectStarter('http://www.ok-cancel.com/', prevSearch) help = 'Index format: yyyymmdd' class Oglaf(_BasicScraper): starter = indirectStarter('http://oglaf.com/', compile(r']+?width="760" height="596"', IGNORECASE) prevSearch = compile(r']+?>]+?> \<\-  ') help = 'Index format: yyyymmdd'