Python-丹麦国家银行网站的吓汇率数据
我想从丹麦国家银行网站上删除5种货币的汇率数据: https://www.nationalbanken.dk/en/statistics /gexchange_rates/pages/pages/default.aspx ,并将其添加到Excel中,始终在已经存在的数据的末尾。
我很陌生,所以我只是curios是最好的方法,我应该特别注意什么?谢谢你!
I would like to scrap exchange rate data, for 5 currencies, from the Danish National Bank website: https://www.nationalbanken.dk/en/statistics/exchange_rates/pages/default.aspx on a daily basis, and having it added in an Excel, always at the end of already existing data.
I'm quite new into this so I'm just curios what would be the best way to do it and what should I pay special attention to? Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
他们有助于提供CSV文件的下载链接,并提供每种货币的完整历史记录。我建议您使用它,并避免在可能的情况下直接刮擦网页。这里有多个问题,这里有很好的答案,例如下载使用Python网站的CSV文件
They helpfully provide download links for CSV files with the complete available history for each currency. I'd recommend you use that, and avoid directly scraping web pages where possible. There are multiple questions with excellent answers here on how to do that, e.g. Downloading csv file from a website using python