diff --git a/doc/changelog.txt b/doc/changelog.txt index eab2c5469..099a41cfc 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -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) Changes: diff --git a/dosagelib/plugins/w.py b/dosagelib/plugins/w.py index 40e4afa99..edf6e1d2f 100644 --- a/dosagelib/plugins/w.py +++ b/dosagelib/plugins/w.py @@ -105,6 +105,16 @@ class WhiteNoise(_BasicScraper): 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): baseUrl = 'http://www.absurdnotions.org/' rurl = escape(baseUrl)