Added Whomp.

This commit is contained in:
Bastian Kleineidam 2014-06-24 20:48:49 +02:00
parent a0086bfcd8
commit 3485e2ac54
2 changed files with 21 additions and 0 deletions

View file

@ -1,3 +1,14 @@
Dosage 2.15 (released xx.xx.2014)
Features:
- comics: Added Whomp.
Closes: GH bug #64
Fixes:
- comics: Fixed GirlGenius
Closes: GH bug #63
Dosage 2.14 (released 8.6.2014) Dosage 2.14 (released 8.6.2014)
Changes: Changes:

View file

@ -105,6 +105,16 @@ class WhiteNoise(_BasicScraper):
help = 'Index format: n' help = 'Index format: n'
class Whomp(_BasicScraper):
url = 'http://www.whompcomic.com/'
rurl = escape(url)
stripUrl = url + '%s/'
firstStripUrl = stripUrl % '2010/06/14/06142010'
imageSearch = compile(tagre("img", "src", r'(%scomics/\d+-\d+-\d+[^"]+)' % rurl))
prevSearch = compile(tagre("a", "href", r'(%s\d+/\d+/\d+/[^"]+)' % rurl, after="navi-prev"))
help = 'Index format: yyyy/mm/dd/stripname'
class WhyTheLongFace(_BasicScraper): class WhyTheLongFace(_BasicScraper):
baseUrl = 'http://www.absurdnotions.org/' baseUrl = 'http://www.absurdnotions.org/'
rurl = escape(baseUrl) rurl = escape(baseUrl)