fixed CigarroAndCerveja

This commit is contained in:
Damjan Košir 2015-05-20 22:58:13 +12:00
parent 4529fdee3b
commit 8de620c78b

View file

@ -4,7 +4,7 @@
from re import compile, escape from re import compile, escape
from ..scraper import _BasicScraper from ..scraper import _BasicScraper, _ParserScraper
from ..helpers import bounceStarter, indirectStarter from ..helpers import bounceStarter, indirectStarter
from ..util import tagre from ..util import tagre
@ -187,13 +187,12 @@ class Chisuji(_BasicScraper):
help = 'Index format: yyyy/mm/dd/strip-name' help = 'Index format: yyyy/mm/dd/strip-name'
class CigarroAndCerveja(_BasicScraper): class CigarroAndCerveja(_ParserScraper):
url = 'http://www.cigarro.ca/' url = 'http://www.cigarro.ca/'
stripUrl = url + '?p=%s' stripUrl = url + 'comic/%s/'
imageSearch = compile(r"(/comics/.+?)'") firstStripUrl = stripUrl % 'reacquaintance'
prevSearch = compile(r'(/\?p=.+?)">&laq') imageSearch = '//div[@id="comic"]//img',
help = 'Index format: non' prevSearch = '//a[contains(text()," Prev")]',
class Collar6(_BasicScraper): class Collar6(_BasicScraper):
url = 'http://collar6.com/' url = 'http://collar6.com/'