mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-06 08:52:55 +01:00
OTW/AO3: Don't apply series page handling to non-series pages
This commit is contained in:
parent
74bc398994
commit
c14f1014b8
1 changed files with 1 additions and 1 deletions
|
|
@ -674,7 +674,7 @@ class BaseOTWAdapter(BaseSiteAdapter):
|
||||||
## easiest way to get all the weird URL possibilities and stay
|
## easiest way to get all the weird URL possibilities and stay
|
||||||
## up to date with future changes.
|
## up to date with future changes.
|
||||||
m = re.match(self.getSiteURLPattern().replace('/works/','/series/'),url)
|
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')
|
seriesid = m.group('id')
|
||||||
soup = self.make_soup(data)
|
soup = self.make_soup(data)
|
||||||
retval = {}
|
retval = {}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue