fix(subtitle): 자막 중복 다운로드 근본 수정 — ZIP 해제 존재체크 + discovered_ep=None 시 전체 스킵
This commit is contained in:
@@ -762,6 +762,11 @@ class AnimePipeline:
|
||||
logger.info(f"자막 URL 스킵 (기존 존재): ep{discovered_ep}")
|
||||
continue
|
||||
|
||||
# 에피소드를 모르는 URL: 기존 영상 에피소드 전부 자막 있으면 다운로드 불필요
|
||||
if discovered_ep is None and unit.existing_eps and unit.existing_eps.issubset(existing_sub_eps):
|
||||
logger.info(f"자막 URL 스킵 (모든 에피소드 자막 존재): {url[:60]}")
|
||||
continue
|
||||
|
||||
try:
|
||||
subs = await self.sub_downloader.find_subtitles(url)
|
||||
for sub in subs:
|
||||
|
||||
Reference in New Issue
Block a user