diff --git a/doc/changelog.txt b/doc/changelog.txt index 1beda0b78..c52b13a6b 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -3,7 +3,7 @@ Dosage 1.14 (released xx.xx.2013) Features: - comics: Added KeenSpot comic strips, enable ComicGenesis comic strips, added DerFlix, FonFlatter, FullFrontalNerdity, - GeeksNextDoor, Ruthe. + GeeksNextDoor, KickInTheHead, Ruthe. Closes: GH bug #15 Changes: diff --git a/dosagelib/plugins/k.py b/dosagelib/plugins/k.py index 7f4b4d8c3..9a3e0e2f5 100644 --- a/dosagelib/plugins/k.py +++ b/dosagelib/plugins/k.py @@ -25,6 +25,15 @@ class Key(_BasicScraper): help = 'Index format: nnn' +class KickInTheHead(_BasicScraper): + url = 'http://www.kickinthehead.org/' + stripUrl = url + '%s/' + firstStripUrl = stripUrl % '2003/03/20/ipod-envy' + imageSearch = compile(tagre("img", "src", r'(http://www\.kickinthehead\.org/kickinthehead3/comics/\d+-\d+-\d+[^"]+)')) + prevSearch = compile(tagre("a", "href", r'(http://www\.kickinthehead\.org/\d+/\d+/\d+/[^"]+)', after="navi-prev")) + help = 'Index format: yyyy/mm/dd/stripname' + + class KillerKomics(_BasicScraper): url = 'http://www.killerkomics.com/web-comics/index_ang.cfm' stripUrl = 'http://www.killerkomics.com/web-comics/%s.cfm'