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'

This commit is contained in:
2026-01-07 20:10:42 +09:00
parent a730e41c41
commit 7cfdfde446
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
title: "애니 다운로더"
version: "0.6.18"
version: "0.6.19"
package_name: "anime_downloader"
developer: "projectdx"
description: "anime downloader"

View File

@@ -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({