From 0696a40901a5dfc5db11c68f13b2103078f562bb Mon Sep 17 00:00:00 2001 From: projectdx Date: Thu, 8 Jan 2026 01:31:51 +0900 Subject: [PATCH] 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 --- mod_linkkf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mod_linkkf.py b/mod_linkkf.py index 2e89713..e827ee8 100644 --- a/mod_linkkf.py +++ b/mod_linkkf.py @@ -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)