网址:
https://www.ting22.com/ting/659-2.html
我想从上面的网站上买一些有声读物。换句话说,我想把有声读物的MP3文件从659-2.html
下载到659-1724.html
。你知道吗
通过使用F12工具,在[Network]->;[Media]中,我可以看到MP3文件的请求URL,但我不知道如何使用脚本获取URL。你知道吗
以下是我使用的一些规格:
更新:
例如,通过使用F12工具,我可以看到文件的url是“http://audio.xmcdn.com/group58/M03/8D/07/wKgLc1zNaabhA__WAEJyyPUT5k4509.mp3”
但我不知道如何在代码中获取MP3文件的URL?而不是如何下载文件。你知道吗
我应该用哪个图书馆?你知道吗
谢谢你。你知道吗
更新
因为请求包不会返回.mp3源代码,所以需要使用Selenium。这是一个经过测试的解决方案:
相关问题 更多 >
编程相关推荐