My fix for ffnet latest update chapters broke m. mobile support. Fixed.

This commit is contained in:
Jim Miller 2011-06-07 20:12:11 -05:00
parent df3b95aa6f
commit 57534c26c5

View file

@ -45,6 +45,9 @@ class FanFictionNetSiteAdapter(BaseSiteAdapter):
# chapter list doesn't get the latest. So save and use the
# original URL given to pull chapter list & metadata.
self.origurl = url
if "http://m." in self.origurl:
## accept m(mobile)url, but use www.
self.origurl = self.origurl.replace("http://m.","http://www.")
@staticmethod
def getSiteDomain():