From 9993836ecaf51b44053b708d7a82110e00daa676 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Thu, 8 Oct 2015 18:16:41 -0500 Subject: [PATCH] Account for base href in XenForo so emoticon images work. --- fanficfare/adapters/base_xenforoforum_adapter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fanficfare/adapters/base_xenforoforum_adapter.py b/fanficfare/adapters/base_xenforoforum_adapter.py index 6db8e27..8c14f00 100644 --- a/fanficfare/adapters/base_xenforoforum_adapter.py +++ b/fanficfare/adapters/base_xenforoforum_adapter.py @@ -314,5 +314,6 @@ class BaseXenForoForumAdapter(BaseSiteAdapter): """%(url,traceback.format_exc())) else: raise - - return self.utf8FromSoup(url,bq) + + # XenForo uses + return self.utf8FromSoup(self.getURLPrefix()+'/',bq)