adapter_literotica: Fix for chapter_categories_use_all:true causing Tag vs string error.

This commit is contained in:
Jim Miller 2024-04-26 10:34:19 -05:00
parent 87b4171dd4
commit 36add28269

View file

@ -420,7 +420,7 @@ class LiteroticaSiteAdapter(BaseSiteAdapter):
# logger.debug(chaptertag)
description = stripHTML(chaptertag.select_one('a[class^="_item_title"]'))
if self.getConfig('chapter_categories_use_all'):
self.story.addToList('category', chaptertag.select_one('a[class^="_item_category"]'))
self.story.addToList('category', stripHTML(chaptertag.select_one('a[class^="_item_category"]')))
date = stripHTML(chaptertag.select_one('span[class^="_date_approve"]'))
pub_date = makeDate(date, dateformat)
dates.append(pub_date)