我用casperjs写了一个QQ空间自动点赞的脚本,想通过python来运行该脚本,然后在http://sae.sina.com.cn 新浪云的云应用里运行。
看到一种说法是把js文件弄成可执行文件,同求怎么弄?
l'm new in python and js
我用casperjs写了一个QQ空间自动点赞的脚本,想通过python来运行该脚本,然后在http://sae.sina.com.cn 新浪云的云应用里运行。
看到一种说法是把js文件弄成可执行文件,同求怎么弄?
l'm new in python and js
调用phantomjs.exe就好了,可以用subprocess.Popen来完成