mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-24 01:33:39 +01:00
Allow trailing / after /Story_Title on ff.net, fp.com urls.
This commit is contained in:
parent
a05bf24ed3
commit
e99adf3fa9
2 changed files with 2 additions and 2 deletions
|
|
@ -51,7 +51,7 @@ class FanFictionNetSiteAdapter(BaseSiteAdapter):
|
|||
return "http://www.fanfiction.net/s/1234/1/ http://www.fanfiction.net/s/1234/12/ http://www.fanfiction.net/s/1234/1/Story_Title"
|
||||
|
||||
def getSiteURLPattern(self):
|
||||
return r"http://(www|m)?\.fanfiction\.net/s/\d+(/\d+)?(/|/[a-zA-Z0-9_-]+)?$"
|
||||
return r"http://(www|m)?\.fanfiction\.net/s/\d+(/\d+)?(/|/[a-zA-Z0-9_-]+)?/?$"
|
||||
|
||||
def extractChapterUrlsAndMetadata(self):
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ class FictionPressComSiteAdapter(BaseSiteAdapter):
|
|||
return "http://www.fictionpress.com/s/1234/1/ http://www.fictionpress.com/s/1234/12/ http://www.fictionpress.com/s/1234/1/Story_Title"
|
||||
|
||||
def getSiteURLPattern(self):
|
||||
return r"http://www\.fictionpress\.com/s/\d+(/\d+)?(/|/[a-zA-Z0-9_-]+)?$"
|
||||
return r"http://www\.fictionpress\.com/s/\d+(/\d+)?(/|/[a-zA-Z0-9_-]+)?/?$"
|
||||
|
||||
def extractChapterUrlsAndMetadata(self):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue