Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
lua 脚本调用 splash 内存不回收 怎么处理 第一次发帖。
chjf2008
·
Sep 18, 2020
· 1705 views
This topic created in 2053 days ago, the information mentioned may be changed or developed.
安装了在 docker 上安装了 splash,用 scrapy 调用了 4 个网页请求,执行了 lua,请求结束了,但是内存不回收,如何处理?
Lua
splash
调用
回收
2 replies
•
2020-09-18 17:16:01 +08:00
1
knightdf
Sep 18, 2020
是不是用全局变量了,lua 非 local 变量全部是全局变量
2
chjf2008
OP
Sep 18, 2020
@
knightdf
lua 只是设置了一个 select 的值 然后点击按钮
document.getElementById("quantity").options[document.getElementById("quantity").selectedIndex].value=9999;document.querySelector("#add-to-cart-button").click()
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
2283 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 33ms ·
UTC 01:33
·
PVG 09:33
·
LAX 18:33
·
JFK 21:33
♥ Do have faith in what you're doing.
❯