# -*- coding: iso-8859-1 -*-
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
from re import compile
from ..scraper import _BasicScraper
class QuestionableContent(_BasicScraper):
latestUrl = 'http://www.questionablecontent.net/'
stripUrl = 'http://www.questionablecontent.net/view.php?comic=%s'
imageSearch = compile(r'/(comics/\d+\.png)"')
prevSearch = compile(r'Previous')
help = 'Index format: n (unpadded)'
class Qwantz(_BasicScraper):
latestUrl = 'http://www.qwantz.com/index.php'
stripUrl = 'http://www.qwantz.com/index.php?comic=%s'
imageSearch = compile(r'← previous')
help = 'Index format: n'