From 419c41fb748b37978ea2f6e42c3e61ed9697bc3a Mon Sep 17 00:00:00 2001 From: Techwolf Date: Tue, 27 Aug 2019 01:42:07 -0700 Subject: [PATCH] Add PeterAndWhitney --- dosagelib/plugins/p.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dosagelib/plugins/p.py b/dosagelib/plugins/p.py index d778510f7..2f65d3258 100644 --- a/dosagelib/plugins/p.py +++ b/dosagelib/plugins/p.py @@ -135,6 +135,14 @@ class PeterAndCompany(_ParserScraper): prevSearch = '//a[./img[contains(@src, "nav_previous")]]' +class PeterAndWhitney(_ParserScraper): + url = 'http://peterandwhitney.com/' + stripUrl = url + '%s' + firstStripUrl = stripUrl % '20160502' + imageSearch = '//div[@id="page"]//img' + prevSearch = '//a[./img[contains(@src, "nav_previous")]]' + + class PHDComics(_ParserScraper): BROKEN_COMMENT_END = compile(r'--!>')