# -*- coding: iso-8859-1 -*- # Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs from re import compile from ..scraper import _BasicScraper from ..helpers import indirectStarter class Galaxion(_BasicScraper): latestUrl = 'http://galaxioncomics.com/' imageUrl = 'http://galaxioncomics.com/?p=%s' imageSearch = compile(r'(wordpress/comics/.+?)"') prevSearch = compile(r'\| ◄ Previous<') help = 'Index format: n (unpadded)' class GUComics(_BasicScraper): latestUrl = 'http://www.gucomics.com/comic/' imageUrl = 'http://www.gucomics.com/comic/?cdate=%s' imageSearch = compile(r'PREVIOUS') help = 'Index format: nnn' class GirlGenius(_BasicScraper): latestUrl = 'http://girlgeniusonline.com/comic.php' imageUrl = 'http://www.girlgeniusonline.com/comic.php\?date=%s' imageSearch = compile(r"(/ggmain/strips/.+?)'") prevSearch = compile(r" ]*>]+src="images/gwsmenu/back_off.jpg"') help = 'Index format: nnn' class Girly(_BasicScraper): latestUrl = 'http://girlyyy.com/' imageUrl = 'http://girlyyy.com/go/%s' imageSearch = compile(r'  < prev') help = 'Index format: nnn' class Goats(_BasicScraper): latestUrl = 'http://www.goats.com/' imageUrl = 'http://www.goats.com/archive/%s.html' imageSearch = compile(r'') help = 'Index format: yymmdd' class GoneWithTheBlastwave(_BasicScraper): starter = indirectStarter('http://www.blastwave-comic.com/index.php?p=comic&nro=1', compile(r'href="(index.php\?p=comic&nro=\d+)">]+?src="/images/previous_day') help = 'Index format: yyyy/mm/dd' class GleefulNihilism(_BasicScraper): latestUrl = 'http://gleefulnihilism.com/' imageUrl = 'http://gleefulnihilism.com/comics/2009/12/01/just-one-of-the-perks/%s' imageSearch = compile(r']+?>Previous') help = 'Index format: yyyy/mm/dd/strip-name' class GastroPhobia(_BasicScraper): latestUrl = 'http://www.gastrophobia.com/' imageUrl = 'http://www.gastrophobia.com/index.php?date=%s' imageSearch = compile(r']*>(?!
)') prevSearch = compile(r'« Previous') help = 'Index format: nnn' class GlassHalfEmpty(_BasicScraper): latestUrl = 'http://www.defectivity.com/ghe/index.php' imageUrl = 'http://www.defectivity.com/ghe/index.php?strip_id=%s' imageSearch = compile(r'src="(comics/.+?)"') prevSearch = compile(r'