mirror of
https://github.com/wassname/FanFicFare.git
synced 2026-09-10 11:40:24 +08:00
Remove 'like' from XenForoForum chapter links in index post.
This commit is contained in:
@@ -219,6 +219,7 @@ class BaseXenForoForumAdapter(BaseSiteAdapter):
|
||||
url = url.replace('http://'+self.getSiteDomain(),self.getURLPrefix())
|
||||
|
||||
url = re.sub(r'(^[\'"]+|[\'"]+$)','',url) # strip leading or trailing '" from incorrect quoting.
|
||||
url = re.sub(r'like$','',url) # strip 'like' if incorrect 'like' link instead of proper post URL.
|
||||
|
||||
logger.debug("(ch:%s)used chapurl:%s"%(len(self.chapterUrls)+1,url))
|
||||
self.chapterUrls.append((name,url))
|
||||
|
||||
Reference in New Issue
Block a user