简体   繁体   English

Azure 中的 Python 网络爬虫

[英]Python Web Scraper in Azure

I have few web scrapers written in python to scrape data from ecommerce websites.我几乎没有用 python 编写的网络爬虫来从电子商务网站上抓取数据。 I want to run these scripts on Azure.我想在 Azure 上运行这些脚本。 What's the best way out?最好的出路是什么? I am looking into Azure functions and Azure Webjobs since I want to have a automated schedules to trigger my scripts.我正在研究 Azure 函数和 Azure Webjobs,因为我想要一个自动计划来触发我的脚本。 Considering the amount of data to be scraped is huge, will Azure functions will be a costly affair ?考虑到要抓取的数据量很大,Azure 函数会不会是一个代价高昂的事情? And how scalable will be webjobs to get this job done? webjobs 完成这项工作的可扩展性如何? Are there any other cost effective ways to achieve the task ?是否有任何其他具有成本效益的方法来完成任务? (I am New to Azure). (我是 Azure 的新手)。

You can try using the Selenium and HTTP Trigger for web scraping .您可以尝试使用 Selenium 和 HTTP 触发器进行网页抓取

For Azure function cost on Consumption plan and Premium plan, you can refer to Azure Functions pricing and Reddit/Azure : Azure hosted Web Scraper, good or bad idea?有关消费计划和高级计划的 Azure 功能成本,您可以参考Azure Functions 定价Reddit/AzureAzure 托管的 Web Scraper,好主意还是坏主意?

You can refer to Run Selenium on azure functions , How to create a Selenium web scraper in Azure Functions , Running webscraping Python file with HTML trigger on Azure and Create a Website Scraper for Azure Functions您可以参考在 azure 函数上运行 Selenium如何在 Azure Functions 中创建 Selenium Web 爬虫在 Azure 上使用 HTML 触发器运行 webscraping Python 文件为 Azure Functions 创建网站爬虫

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

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