mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-09 11:14:08 +08:00
themaplebookshelf: URL normalization in __init__
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user