Remove 'like' from XenForoForum chapter links in index post.

This commit is contained in:
Jim Miller
2015-12-11 10:27:45 -06:00
parent 40a1a99c05
commit 7a42c84f51
@@ -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))