diff --git a/dosagelib/plugins/p.py b/dosagelib/plugins/p.py
index 36c5427cf..e039bde24 100755
--- a/dosagelib/plugins/p.py
+++ b/dosagelib/plugins/p.py
@@ -167,12 +167,12 @@ class Pixel(_BasicScraper):
class PiledHigherAndDeeper(_BasicScraper):
- url = 'http://www.phdcomics.com/comics/archive.php'
- starter = bounceStarter(url, compile(r''))
+ url = 'http://www.phdcomics.com/comics.php'
+ starter = bounceStarter(url, compile(r'.*]*next_button\.gif'))
stripUrl = url + '?comicid=%s'
firstStripUrl = stripUrl % '1'
- imageSearch = compile(tagre("img", "src", r'(http://www\.phdcomics\.com/comics/archive/phd\d+s?\.\w{3,4})', quote=""))
- prevSearch = compile(r'')
+ imageSearch = compile(tagre("img", "src", r'(http://www\.phdcomics\.com/comics/archive/phd\d+s\d?\.\w{3,4})', quote=""))
+ prevSearch = compile(r'.*]*prev_button\.gif')
help = 'Index format: n (unpadded)'
namer = queryNamer('comicid', usePageUrl=True)