From 7cfdfde446e6a0a71fb04f5e380a3353998bd455 Mon Sep 17 00:00:00 2001 From: projectdx Date: Wed, 7 Jan 2026 20:10:42 +0900 Subject: [PATCH] v0.6.19: Lower min_acceptable_length to 10000 bytes - Some sites like anilife.live have smaller pages (~40k) - Prevents valid content from being rejected as 'short' --- info.yaml | 2 +- lib/zendriver_daemon.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/info.yaml b/info.yaml index e56fd39..88bdbab 100644 --- a/info.yaml +++ b/info.yaml @@ -1,5 +1,5 @@ title: "애니 다운로더" -version: "0.6.18" +version: "0.6.19" package_name: "anime_downloader" developer: "projectdx" description: "anime downloader" diff --git a/lib/zendriver_daemon.py b/lib/zendriver_daemon.py index 873b64c..35cf2ff 100644 --- a/lib/zendriver_daemon.py +++ b/lib/zendriver_daemon.py @@ -339,8 +339,8 @@ async def fetch_with_browser(url: str, timeout: int = 30) -> Dict[str, Any]: poll_elapsed = time.time() - poll_start total_elapsed = time.time() - start_time - # 최소 길이 임계값 조정 (50000 -> ohli24는 보통 100k 정도) - min_acceptable_length = 50000 + # 최소 길이 임계값 (사이트마다 페이지 크기가 다름) + min_acceptable_length = 10000 if html_content and len(html_content) > min_acceptable_length: result.update({