Add ForLackOfABetterComic

This commit is contained in:
Bastian Kleineidam 2013-04-10 18:20:39 +02:00
parent d00310f017
commit 54283775a8
2 changed files with 13 additions and 2 deletions

View file

@ -1,8 +1,8 @@
Dosage 2.0 (released xx.xx.2013)
Features:
- comics: Added DamnLol, EverydayBlues, ExtraOrdinary, GoblinsComic,
RealmOfAtland, Science,
- comics: Added DamnLol, EverydayBlues, ExtraOrdinary,
ForLackOfABetterComic, GoblinsComic, RealmOfAtland, Science,
SnowFlakes, StuffNoOneToldMe, WebDesignerCOTW and ZenPencils.
- comics: Added the --vote option to vote for popular comics.

View file

@ -139,6 +139,17 @@ class Footloose(_BasicScraper):
help = 'Index format: n (unpadded)'
class ForLackOfABetterComic(_BasicScraper):
url = 'http://forlackofabettercomic.com/'
rurl = escape(url)
stripUrl = url + '?id=%s'
firstStripUrl = stripUrl % '1'
imageSearch = compile(tagre("img", "src", r'(%simg/comic/\d+[^"]+)' % rurl, after="comicimg"))
prevSearch = compile(tagre("a", "href", r'(%s\?id\=\d+)' % rurl) + r'Prev')
help = 'Index format: number'
description = 'A hand drawn comic about everyday life situations.'
class Freefall(_BasicScraper):
url = 'http://freefall.purrsia.com/default.htm'
stripUrl = 'http://freefall.purrsia.com/ff%s/fc%s.htm'