Added OrnerBoy

This commit is contained in:
Bastian Kleineidam 2013-03-12 21:23:26 +01:00
parent 502a35166f
commit 79f0f4b36c
2 changed files with 11 additions and 1 deletions

View file

@ -3,7 +3,7 @@ Dosage 1.14 (released xx.xx.2013)
Features: Features:
- comics: Added KeenSpot comic strips, enable ComicGenesis - comics: Added KeenSpot comic strips, enable ComicGenesis
comic strips, added DerFlix, FonFlatter, FullFrontalNerdity, comic strips, added DerFlix, FonFlatter, FullFrontalNerdity,
GeeksNextDoor, KickInTheHead, Ruthe. GeeksNextDoor, KickInTheHead, OrnerBoy, Ruthe.
Closes: GH bug #15 Closes: GH bug #15
Changes: Changes:

View file

@ -70,6 +70,16 @@ class OneQuestion(_BasicScraper):
help = 'Index format: n (unpadded)' help = 'Index format: n (unpadded)'
class OrnerBoy(_BasicScraper):
url = 'http://www.orneryboy.com/'
stripUrl = url + 'index.php?comicID=%s'
firstStripUrl = stripUrl % '1'
imageSearch = compile(tagre("img", "src", r'(comics/\d+\.[^"]+)'))
prevSearch = compile(tagre("a", "href", r'(http://www\.orneryboy\.com/index\.php\?comicID=\d+)') +
tagre("img", "src", r'images/prev_a\.gif'))
help = 'Index format: number'
class OurHomePlanet(_BasicScraper): class OurHomePlanet(_BasicScraper):
url = 'http://gdk.gd-kun.net/' url = 'http://gdk.gd-kun.net/'
stripUrl = url + '%s.html' stripUrl = url + '%s.html'