2013-09-01 20 views

回答

1

您可以隨時使用selenium/splinterxvfb;)

your_bash_script.sh:

#!/usr/bin/env bash 
set -e 
xvfb-run --server-args="-screen 0 1024x768x24" python your_parse_script.py 
+1

+1,但是去[PhantomPy]無頭(https://github.com/niwibe/phantompy),不需要X. –