diff --git a/fanficfare/adapters/adapter_forumquestionablequestingcom.py b/fanficfare/adapters/adapter_forumquestionablequestingcom.py index a756b086..f4dbdd87 100644 --- a/fanficfare/adapters/adapter_forumquestionablequestingcom.py +++ b/fanficfare/adapters/adapter_forumquestionablequestingcom.py @@ -15,6 +15,7 @@ # limitations under the License. # +import re from ..htmlcleanup import stripHTML from base_xenforoforum_adapter import BaseXenForoForumAdapter @@ -39,15 +40,38 @@ class QuestionablequestingComAdapter(BaseXenForoForumAdapter): ## and QQ enough to require some differentiation. def extract_threadmarks(self,souptag): # try threadmarks if no '#' in url - navdiv = souptag.find('div',{'class':'pageNavLinkGroup'}) - threadmarksa = navdiv.find('a',{'class':'threadmarksTrigger'}) + navdiv = souptag.find('div',{'class':'threadmarkMenus'}) + # was class=threadmarksTrigger. thread cats are currently + # only OverlayTrigger s in threadmarkMenus, but I wouldn't + # be surprised if that changed. Don't want to do use just + # href=re because there's more than one copy on the page; plus + # could be included in a post. Would be easier if