简体   繁体   English

如何使用 Python (Django) 从多个网站连续获取一些特定的实时数据?

[英]How to get some specific real-time data from several websites continuously using Python (Django)?

I am working on a web application that needs to pull data from other websites continuously.我正在开发一个需要不断从其他网站提取数据的 Web 应用程序。 For example, the price of a product.例如,产品的价格。 If the price changes on the original website, my site's price will also be changed automatically.如果原网站的价格发生变化,我网站的价格也会自动发生变化。

Is it possible to scrape/pull/get data from other websites continuously like this?是否可以像这样连续从其他网站抓取/拉取/获取数据?

您可以编写一个后台作业以每小时/分钟/...从远程主机获取数据,然后在更改时更新您的数据。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM