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:
2026-01-08 01:31:51 +09:00
parent 24217712a6
commit 0696a40901

View File

@@ -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)