diff --git a/doc/changelog.txt b/doc/changelog.txt index 2b37fc2cc..269b54d36 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -1,10 +1,8 @@ Dosage 1.10 (released xx.xx.2013) Features: -- comics: Added SequentialArt comic strip. -- comics: Added VampireCheerleader comic strip. -- comics: Added GrrlPower comic strip. -- comics: Added Spinnerette comic strip. +- comics: Added comic strips SequentialArt, VampireCheerleader, + GrrlPower, Spinnerette, HijinksEnsue. Changes: - cmdline: Added the --continue option. diff --git a/dosagelib/plugins/h.py b/dosagelib/plugins/h.py index b22089fab..60cdba23b 100644 --- a/dosagelib/plugins/h.py +++ b/dosagelib/plugins/h.py @@ -5,6 +5,14 @@ from ..scraper import _BasicScraper from ..util import tagre +class HijinksEnsue(_BasicScraper): + url = 'http://hijinksensue.com/' + stripUrl = url + '%s/' + imageSearch = compile(tagre("img", "src", r'(http://hijinksensue\.com/comics/\d+-\d+-\d+[^"]+)')) + prevSearch = compile(tagre("a", "href", r'(http://hijinksensue\.com/\d+/\d+/\d+/[^"]+)', after="navi-prev")) + help = 'Index format: yyyy/mm/dd/name' + + class HorribleVille(_BasicScraper): url = 'http://horribleville.com/' stripUrl = url + 'd/%s.html'