Add ForLackOfABetterComic
This commit is contained in:
parent
d00310f017
commit
54283775a8
2 changed files with 13 additions and 2 deletions
|
@ -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.
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue