From 6131c9e2b55a443ba5bf97f441506e5def8d6797 Mon Sep 17 00:00:00 2001 From: Techwolf Date: Tue, 27 Aug 2019 01:41:28 -0700 Subject: [PATCH] Add PeterAndCompany --- dosagelib/plugins/p.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dosagelib/plugins/p.py b/dosagelib/plugins/p.py index 626b112e9..d778510f7 100644 --- a/dosagelib/plugins/p.py +++ b/dosagelib/plugins/p.py @@ -126,6 +126,15 @@ class PeppermintSagaBGR(_WPNavi): adult = True +class PeterAndCompany(_ParserScraper): + url = 'http://peterandcompany.com/' + stripUrl = url + '%s' + firstStripUrl = stripUrl % '20050101' + imageSearch = ('//div[@id="page"]//img', + '//div[@id="strip"]//img[contains(@src, "strips/")]') + prevSearch = '//a[./img[contains(@src, "nav_previous")]]' + + class PHDComics(_ParserScraper): BROKEN_COMMENT_END = compile(r'--!>')