[英]Extracting data from interactive webpage using python
I am relatively a freshman for python. 我是python的新生。 I just learnt how to identify urls in a webpage using python.
我刚刚学习了如何使用python识别网页中的网址。 However, now I want to extract the data from the chart in the webpage.
但是,现在我想从网页中的图表中提取数据。
http://index.baidu.com/?tpl=trend&word=%D0%CB%D2%B5%D6%A4%C8%AF http://index.baidu.com/?tpl=trend&word=%D0%CB%D2%B5%D6%A4%C8%AF
I have three questions for which I need opinions. 我有三个问题需要我提出意见。
ctrl+shift+i
) can see it. ctrl+shift+i
)也可以看到它。 text
using selenium and then output it in whatever form you wish (build a CSV
for instance). text
,然后以所需的任何形式输出(例如,构建CSV
)。 This question discusses getting text from an element further.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.