gpt4 book ai didi

python web提取iframe(ajax)内容

转载 作者:行者123 更新时间:2023-12-01 06:00:38 25 4
gpt4 key购买 nike

我正在研究 python 网络抓取

网页使用iframe污染,内容通过ajax(jquery)填充

我尝试过使用iframe的src(使用lxml,.)但它没有用

如何使用 python 模块提取 iframe 的内容

谢谢

最佳答案

Selenium 会为你完成这项工作。看http://seleniumhq.org/docs/03_webdriver.html

关于python web提取iframe(ajax)内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10650676/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com