mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2026-05-08 12:36:11 +02:00
themaplebookshelf: URL normalization in __init__
This commit is contained in:
parent
52ccebf16e
commit
6e897c78f1
1 changed files with 1 additions and 0 deletions
|
|
@ -38,6 +38,7 @@ class TheMapleBookshelfComSiteAdapter(BaseSiteAdapter):
|
|||
self.story.setMetadata('siteabbrev','maplebook')
|
||||
self.decode = ["Windows-1252", "utf8"]
|
||||
self.story.setMetadata('storyId', re.compile(self.getSiteURLPattern()).match(url).group('storyId'))
|
||||
self._setURL("http://%s/Literati/viewstory.php?sid=%s" % (self.getSiteDomain(), self.story.getMetadata('storyId')))
|
||||
self.dateformat = "%b %d, %Y"
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Reference in a new issue