adapter_literotica: Get series ID from data object (#1290)

This commit is contained in:
WWeapn 2025-12-11 18:20:02 +01:00 committed by GitHub
parent 99bba3ff12
commit e0907147f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -374,7 +374,7 @@ class LiteroticaSiteAdapter(BaseSiteAdapter):
## alternate chapters from JSON
if self.num_chapters() < 1:
logger.debug("Getting Chapters from series JSON")
seriesid = json_state.get('series',{}).get('coversSeriesId',None)
seriesid = json_state.get('series',{}).get('data',{}).get('id',None)
if seriesid:
logger.info("Fetching chapter data from JSON")
logger.debug(seriesid)