From c14f1014b8d99b0dbcc91c2045df522644ba4729 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Sun, 19 Oct 2025 22:14:08 -0500 Subject: [PATCH] OTW/AO3: Don't apply series page handling to non-series pages --- fanficfare/adapters/base_otw_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fanficfare/adapters/base_otw_adapter.py b/fanficfare/adapters/base_otw_adapter.py index 40f743f7..e561ff20 100644 --- a/fanficfare/adapters/base_otw_adapter.py +++ b/fanficfare/adapters/base_otw_adapter.py @@ -674,7 +674,7 @@ class BaseOTWAdapter(BaseSiteAdapter): ## easiest way to get all the weird URL possibilities and stay ## up to date with future changes. m = re.match(self.getSiteURLPattern().replace('/works/','/series/'),url) - if m: + if m and m.group('id'): # only series, not tags, collections, etc. seriesid = m.group('id') soup = self.make_soup(data) retval = {}