From de6c5da727284b20501e906f453aeaeac621f07b Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 11 Jun 2012 12:31:13 -0500 Subject: [PATCH] Allow www.squidge.org/~peja as well as www.squidge.org/peja. --- fanficdownloader/adapters/adapter_squidgeorgpeja.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanficdownloader/adapters/adapter_squidgeorgpeja.py b/fanficdownloader/adapters/adapter_squidgeorgpeja.py index d9d09b06..be6a24e9 100644 --- a/fanficdownloader/adapters/adapter_squidgeorgpeja.py +++ b/fanficdownloader/adapters/adapter_squidgeorgpeja.py @@ -84,7 +84,7 @@ class SquidgeOrgPejaAdapter(BaseSiteAdapter): return "http://"+self.getSiteDomain()+"/peja/cgi-bin/viewstory.php?sid=1234" def getSiteURLPattern(self): - return re.escape("http://"+self.getSiteDomain()+"/peja/cgi-bin/viewstory.php?sid=")+r"\d+$" + return re.escape("http://"+self.getSiteDomain()+"/")+"~?"+re.escape("peja/cgi-bin/viewstory.php?sid=")+r"\d+$" ## Getting the chapter list and the meta data, plus 'is adult' checking. def extractChapterUrlsAndMetadata(self):