diff --git a/doc/changelog.txt b/doc/changelog.txt index 7b25f2272..d6f892c1b 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -1,7 +1,7 @@ Dosage 2.5 (released xx.xx.2013) Features: -- comics: Added ICanBarelyDraw, MarriedToTheSea, NatalieDee. +- comics: Added EatLiver, ICanBarelyDraw, JimBenton, MarriedToTheSea, NatalieDee. Closes: GH bug #37 Fixes: diff --git a/dosagelib/plugins/e.py b/dosagelib/plugins/e.py index d6b827e38..2817ed1f3 100644 --- a/dosagelib/plugins/e.py +++ b/dosagelib/plugins/e.py @@ -34,6 +34,19 @@ class EarthsongSaga(_BasicScraper): int(imgmatch.group(3)), suffix) + +class EatLiver(_BasicScraper): + description = u'Crazy funny pictures of insane internet' + url = 'http://www.eatliver.com/' + rurl = escape(url) + starter = indirectStarter(url, compile(tagre("a", "href", r'(i\.php\?n=\d+)') + + tagre("img", "src", r'img/small/[^"]+') + r"\s*]+\.html)', quote=""))) + imageSearch = compile(tagre("img", "src", r'(JimBentonComic-[^"]+)', before="photo-frame")) + prevSearch = compile(tagre("a", "href", r'(JimBentonComic-[^>]+\.html)', quote="") + "Next") + help = 'Index format: stripname' + + class JoeAndMonkey(_BasicScraper): url = 'http://www.joeandmonkey.com/' stripUrl = url + '%s'