INNER CODE UNIT · Python
filepath
zillionare/zillionare · scripts/debug_crawler.py:155
filepath = crawler.temp_dir / filename
if filepath.exists():
print(f"✓ 文件已创建: {filepath}")
print(f"文件大小: {filepath.stat().st_size} bytes")
else:
print("❌ 文件未找到")
else:
print("❌ 文章保存失败")
else:
print("❌ 翻译失败")
else:
print("文章不相关,跳过翻译")
return True
except Exception as e:
print(f"❌ 单篇文章处理失败: {e}")
import traceback