v0.6.24: Fix Linkkf search page items_xpath NoneType error
- Add missing items_xpath=None in else block for JSON API responses - Prevents lxml TypeError when parsing JSON as HTML
This commit is contained in:
@@ -1146,7 +1146,10 @@ class LogicLinkkf(AnimeModuleBase):
|
||||
items_xpath = None # JSON fetching
|
||||
title_xpath = None
|
||||
else:
|
||||
# Default: JSON API (singlefilter)
|
||||
url = "https://linkkf.5imgdarr.top/api/singlefilter.php?categorytagid=1970&page=1&limit=20"
|
||||
items_xpath = None # JSON fetching
|
||||
title_xpath = None
|
||||
|
||||
logger.info("url:::> %s", url)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user