ip库网站源码,好搜网,html网页设计模板下载,网页视频如何下载你说得对。此页面是使用JavaScript异步填充的,因此BeautifulSoup和类似的工具将无法看到您试图获取的特定内容。但是,如果您记录浏览器的网络流量,您可以看到一些(XHR)httpget请求被发送到restapi,restapi以JSON形式提供其结果。这个JSON恰好包含您要查找的信息。它实际上会向不…你说得对。此页面是使用JavaScript异步填充的,因此BeautifulSoup和类似的工具将无法看到您试图获取的特定内容。但是,如果您记录浏览器的网络流量,您可以看到一些(XHR)httpget请求被发送到restapi,restapi以JSON形式提供其结果。这个JSON恰好包含您要查找的信息。它实际上会向不同的API端点发出几个这样的请求,但是我们感兴趣的是txList(我猜是“交易清单”的缩写):def main():import requestsurl https://tracker.icon.foundation/v3/block/txListparams {height: 29562412,page: 1,count: 10}response requests.get(url, paramsparams)response.raise_for_status()base_url https://tracker.icon.foundation/transaction/for transaction in response.json()[data]:print(base_url transaction[txHash])return 0if __name__ __main__:import syssys.exit(main())https://tracker.icon.foundation/transaction/0x9e5927c83efaa654008667d15b0a223f806c25d4c31688c5fdf34936a075d632https://tracker.icon.foundation/transaction/0xd64f88fe865e756ac805ca87129bc287e450bb156af4a256fa54426b0e0e6a3e