2012-06-20 20:41:04 +00:00
|
|
|
# -*- coding: iso-8859-1 -*-
|
|
|
|
# Copyright (C) 2004-2005 Tristan Seligmann and Jonathan Jacobs
|
2012-11-21 20:57:26 +00:00
|
|
|
# Copyright (C) 2012 Bastian Kleineidam
|
|
|
|
|
2012-06-20 19:58:13 +00:00
|
|
|
from re import compile, MULTILINE
|
|
|
|
|
2012-10-11 10:03:12 +00:00
|
|
|
from ..scraper import _BasicScraper
|
2012-06-20 19:58:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
class YAFGC(_BasicScraper):
|
|
|
|
latestUrl = 'http://yafgc.shipsinker.com/'
|
2012-11-20 17:53:53 +00:00
|
|
|
stripUrl = latestUrl + 'index.php?strip_id=%s'
|
2012-06-20 19:58:13 +00:00
|
|
|
imageSearch = compile(r'(istrip_.+?)"')
|
|
|
|
prevSearch = compile(r'(/.+?)">\r\n.+?prev.gif', MULTILINE)
|
|
|
|
help = 'Index format: n'
|
|
|
|
|
|
|
|
|
|
|
|
class YouSayItFirst(_BasicScraper):
|
|
|
|
latestUrl = 'http://www.yousayitfirst.com/'
|
2012-11-13 18:10:19 +00:00
|
|
|
stripUrl = 'http://www.soapylemon.com/comics/index.php?date=%s'
|
2012-06-20 19:58:13 +00:00
|
|
|
imageSearch = compile(r'(http://.+?comics/.+?.jpg)[^<]')
|
|
|
|
prevSearch = compile(r'(/comics/index.php\?date=.+?)".+?P')
|
|
|
|
help = 'Index format: yyyymmdd'
|
|
|
|
|
|
|
|
|
|
|
|
class Yirmumah(_BasicScraper):
|
|
|
|
latestUrl = 'http://yirmumah.net/archives.php'
|
2012-11-20 17:53:53 +00:00
|
|
|
stripUrl = latestUrl + '?date=%s'
|
2012-06-20 19:58:13 +00:00
|
|
|
imageSearch = compile(r'<img src="(strips/\d{8}\..*?)"')
|
|
|
|
prevSearch = compile(r'<a href="(\?date=\d{8})">.*Previous')
|
|
|
|
help = 'Index format: yyyymmdd'
|