Dockerfile 部署

This commit is contained in:
hjq
2026-06-12 16:55:40 +08:00
parent 59a6571707
commit 81e2659b3a
2 changed files with 10 additions and 0 deletions

View File

@@ -293,6 +293,11 @@ def fetch_receipt_details_incremental():
page.listen.stop()
except Exception:
pass
try:
# 必须强制退出浏览器,释放内存,防止产生僵尸进程导致 404
page.quit()
except Exception:
pass
if __name__ == "__main__":
fetch_receipt_details_incremental()