added comic Gaia

This commit is contained in:
Damjan Košir 2013-12-10 17:08:15 +13:00
parent f48b22b512
commit 4e5717be57
2 changed files with 20 additions and 0 deletions

View file

@ -8,6 +8,15 @@ from ..scraper import _BasicScraper
from ..helpers import indirectStarter
from ..util import tagre
class Gaia(_BasicScraper):
description = u'Gaia, a story about the nature of reality, and the answer to Lilith?s simple, meek, world-shattering question: ?Will you come along??'
url = 'http://www.sandraandwoo.com/gaia/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2000/01/01/welcome-to-gaia/'
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+-[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/\d+/[^"]+/)' % rurl, after="prev"))
help = 'Index format: yyyy/mm/dd/number-stripname'
class Galaxion(_BasicScraper):
description = u'Galaxion - Life. Love. Hyperspace.'

View file

@ -75,6 +75,17 @@ class WeCanSleepTomorrow(_BasicScraper):
help = 'Index format: yyyy/mm/dd/stripname'
class Weregeek(_BasicScraper):
description = u'Weregeek'
url = 'http://www.weregeek.com/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2006/11/27/'
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'((%s)?(/)?\d+/\d+/\d+/)'% rurl)+'\s*'+ tagre('img', 'src', '[^"]*previous_day.gif'))
help = 'Index format: yyyy/mm/dd'
class WhiteNinja(_BasicScraper):
baseUrl = 'http://www.whiteninjacomics.com/'
url = baseUrl + 'comics.shtml'