Is it technically possible to take a screenshot of a website programmatically?

后端 未结 5 769
醉酒成梦
醉酒成梦 2021-01-02 21:49

Do you think is technically possible to take a screeshot of a website programmatically?

I would like to craft a scheduled Python task that crawls a list of websites

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-02 22:27

    You can check webkit2png (only OS X) and khtml2png (Linux) and this post (use PyQt and WebKit).

提交回复
热议问题