自动更改谷歌搜索页面

时间:2021-03-22 15:46:19

标签: python google-chrome web-scraping automation

所以我想弄清楚如何使用python自动更改谷歌搜索页面 enter image description here

这就是我的意思。 我遇到的问题是更改时的 url 并没有真正的模式,我的意思是这个 enter image description here

所以我猜我必须找到某种功能来自动找到下一页的正确网址,但我什至不确定这是否可行。 我的问题是是否有可能做到这一点,如果是我应该从哪里开始,我该怎么做。

1 个答案:

答案 0 :(得分:0)

最好使用 Selenium 库来完成这项工作,请阅读此链接:

https://realpython.com/modern-web-automation-with-python-and-selenium/