From 78845d0d1ef842ca3873bc3d550c422b203d6a62 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Sun, 29 Sep 2013 14:17:41 -0500 Subject: [PATCH] TtH uses both Non-BtVS/... and Non-BTVS/... --- fanficdownloader/adapters/adapter_tthfanficorg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fanficdownloader/adapters/adapter_tthfanficorg.py b/fanficdownloader/adapters/adapter_tthfanficorg.py index 4090afc8..c698b5a7 100644 --- a/fanficdownloader/adapters/adapter_tthfanficorg.py +++ b/fanficdownloader/adapters/adapter_tthfanficorg.py @@ -231,10 +231,10 @@ class TwistingTheHellmouthSiteAdapter(BaseSiteAdapter): BtVS = True BtVSNonX = False for cat in verticaltable.findAll('a', href=re.compile(r"^/Category-")): - if cat.string not in ['General', 'Non-BtVS/AtS Stories', 'BtVS/AtS Non-Crossover', 'Non-BtVS Crossovers']: + if cat.string not in ['General', 'Non-BtVS/AtS Stories', 'Non-BTVS/AtS Stories', 'BtVS/AtS Non-Crossover', 'Non-BtVS Crossovers']: self.story.addToList('category',cat.string) else: - if 'Non-BtVS' in cat.string: + if 'Non-BtVS' in cat.string or 'Non-BTVS' in cat.string: BtVS = False if 'BtVS/AtS Non-Crossover' == cat.string: BtVSNonX = True