diff --git a/fanficfare/adapters/adapter_forumquestionablequestingcom.py b/fanficfare/adapters/adapter_forumquestionablequestingcom.py index 5544fed5..e2a8de8d 100644 --- a/fanficfare/adapters/adapter_forumquestionablequestingcom.py +++ b/fanficfare/adapters/adapter_forumquestionablequestingcom.py @@ -14,7 +14,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -import re from base_xenforoforum_adapter import BaseXenForoForumAdapter diff --git a/fanficfare/adapters/base_xenforoforum_adapter.py b/fanficfare/adapters/base_xenforoforum_adapter.py index c72fe25f..27a6c080 100644 --- a/fanficfare/adapters/base_xenforoforum_adapter.py +++ b/fanficfare/adapters/base_xenforoforum_adapter.py @@ -196,8 +196,8 @@ class BaseXenForoForumAdapter(BaseSiteAdapter): soup = soup.find('li',{'class':'message'}) # limit first post for date stuff below. ('#' posts above) if threadmark_chaps or self.getConfig('always_use_forumtags'): - ## only use tags if threadmarks for chapters or - for tag in topsoup.findAll('a',{'class':'tag'}): + ## only use tags if threadmarks for chapters or always_use_forumtags is on. + for tag in topsoup.findAll('a',{'class':'tag'}) + topsoup.findAll('span',{'class':'prefix'}): tstr = stripHTML(tag) if self.getConfig('capitalize_forumtags'): tstr = tstr.title()