From ceca4ba102027b3632f36cc2a81b4add501fb114 Mon Sep 17 00:00:00 2001 From: Peter B Date: Sun, 29 Dec 2013 21:03:11 -0500 Subject: [PATCH] Added FoulLanguage Comic --- dosagelib/plugins/f.py | 8 ++++++++ 1 file changed, 8 insertions(+) mode change 100644 => 100755 dosagelib/plugins/f.py diff --git a/dosagelib/plugins/f.py b/dosagelib/plugins/f.py old mode 100644 new mode 100755 index 0d56da6ac..41b3cf407 --- a/dosagelib/plugins/f.py +++ b/dosagelib/plugins/f.py @@ -142,6 +142,14 @@ class ForLackOfABetterComic(_BasicScraper): help = 'Index format: number' description = u'A hand drawn comic about everyday life situations.' +class FoulLanguage(_BasicScraper): + description = u'Weekly cartoons about a geeky, neurotic, duck trying to survive in a stupid, stupid world.' + url = 'http://www.fowllanguagecomics.com/' + stripUrl = url + 'comic/%s' + firstStripUrl = stripUrl % 'part-of-the-process' + imageSearch = compile(tagre("img", "src", r'(http://i\d\.wp\.com/www\.fowllanguagecomics\.com/wp-content/uploads/\d+/\d+/[^"]+\.[a-z]+)', after="comic")) + prevSearch = compile(tagre("a", "href", r'([^"]+)', after="comic-nav-previous")) + help = 'Index format: yyyy/mm/stripname' class Freefall(_BasicScraper): url = 'http://freefall.purrsia.com/default.htm'