From 26cd1d50ab53427ff592ad9cd82ff2f4a1ff9b5a Mon Sep 17 00:00:00 2001 From: David Lynch Date: Tue, 14 May 2024 22:05:44 -0500 Subject: [PATCH] Fix questionable questing, which has moved to xenforo2 --- sites/xenforo.py | 10 ---------- sites/xenforo2.py | 11 +++++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/sites/xenforo.py b/sites/xenforo.py index 4616cbf..257f6d7 100644 --- a/sites/xenforo.py +++ b/sites/xenforo.py @@ -335,16 +335,6 @@ def _chapter_list(self, url): return self._chapter_list_index(url) -@register -class QuestionableQuesting(XenForo): - domain = 'forum.questionablequesting.com' - - -@register -class QuestionableQuestingIndex(QuestionableQuesting, XenForoIndex): - _key = "QuestionableQuesting" - - @register class AlternateHistory(XenForo): domain = 'www.alternatehistory.com/forum' diff --git a/sites/xenforo2.py b/sites/xenforo2.py index a0d38c0..d37e8c5 100644 --- a/sites/xenforo2.py +++ b/sites/xenforo2.py @@ -78,3 +78,14 @@ class SufficientVelocity(XenForo2): class TheSietch(XenForo2): domain = 'www.the-sietch.com' index_urls = True + + +@register +class QuestionableQuesting(XenForo2): + domain = 'forum.questionablequesting.com' + + +@register +class QuestionableQuestingIndex(QuestionableQuesting, XenForoIndex): + _key = "QuestionableQuesting" +