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 = {}