如何抓取Google People的问题和答案,还向Selenium和Python询问比Google默认输出的数量?
我找到了一个很好的解决方案,但它可以默认情况下Google给出的问题和答案数量,但是例如i需要更多。
我是Python的新手开发人员。 我如何获得更多问题和答案? 我是否必须先点击以披露所需的金额然后解析?
I found a good solution, but it works on the number of questions and answers that Google gives by default, but for example I need more.
I am a novice developer on Python.
How do I get more questions and answers?
Do I have to implement a click first to disclose the required amount and then parse?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以下代码解析出现在屏幕上的问题,然后询问您是否要解析更多问题。如果输入
y
,则单击“最后一个问题”按钮,以便在页面中加载更多内容。这些问题存储在列表问题
,列表中的答案答案
The following code parse the questions appearing on screen, then asks if you want to parse more questions or not. If you enter
y
then it clicks on the last question's button so that more are loaded in the page. The questions are stored in the listquestions
, the answers in the listanswers