我正在使用 ghost.py 截屏网页。但是该脚本没有捕获页面上的任何图像。我设置了 download_images=True - 但这似乎不起作用。
我的代码:
from ghost import Ghost
ghost = Ghost(wait_timeout=4, download_images = True) #download_images not working
ghost.open('http://sex-offender.vsp.virginia.gov/sor/policy.html')
ghost.capture_to('page.png')