Added two more comics.

This commit is contained in:
Bastian Kleineidam 2012-12-09 18:12:21 +01:00
parent 5c34baa663
commit 75de0bc662
2 changed files with 16 additions and 1 deletions

View file

@ -7,6 +7,14 @@ from ..scraper import _BasicScraper
from ..util import tagre from ..util import tagre
class IanJay(_BasicScraper):
latestUrl = 'http://ianjay.net/'
stripUrl = latestUrl + '?p=%s'
imageSearch = compile(tagre("img", "src", r'(http://ianjay\.net/comics/\d+[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://ianjay\.net/\?p=\d+)', after="Previous"))
help = 'Index foramt: nnn'
class IDreamOfAJeanieBottle(_BasicScraper): class IDreamOfAJeanieBottle(_BasicScraper):
latestUrl = 'http://jeaniebottle.com/' latestUrl = 'http://jeaniebottle.com/'
stripUrl = latestUrl + '?p=%s' stripUrl = latestUrl + '?p=%s'
@ -37,4 +45,3 @@ class ItsWalky(_BasicScraper):
imageSearch = compile(tagre("img", "src", r'(/comic[s|/][^"]+)')) imageSearch = compile(tagre("img", "src", r'(/comic[s|/][^"]+)'))
prevSearch = compile(tagre("a", "href", r'[^"]*(/d/\d+\.s?html)')+r"[^>]+/images/(?:nav_02|previous_day)\.gif") prevSearch = compile(tagre("a", "href", r'[^"]*(/d/\d+\.s?html)')+r"[^>]+/images/(?:nav_02|previous_day)\.gif")
help = 'Index format: yyyymmdd' help = 'Index format: yyyymmdd'

View file

@ -31,6 +31,14 @@ class JoeAndMonkey(_BasicScraper):
help = 'Index format: nnn' help = 'Index format: nnn'
class JohnnyWander(_BasicScraper):
latestUrl = 'http://www.johnnywander.com/'
stripUrl = latestUrl + 'comics/%s'
imageSearch = compile(tagre("img", "src", r'(http://www\.johnnywander\.com/files/comics/\d+\.jpg)'))
prevSearch = compile(tagre("a", "href", r'(/comics/\d+)') + r'prev')
help = 'Index format: nnn'
class JustAnotherEscape(_BasicScraper): class JustAnotherEscape(_BasicScraper):
latestUrl = 'http://www.justanotherescape.com/' latestUrl = 'http://www.justanotherescape.com/'
stripUrl = latestUrl + 'index.cgi?date=%s' stripUrl = latestUrl + 'index.cgi?date=%s'