Home >Backend Development >Python Tutorial >Why do crawlers use python?

Why do crawlers use python?

藏色散人
藏色散人Original
2019-06-24 10:46:372501browse

Why do crawlers use python?

Why crawlers use python:

Because crawlers written in python have many advantages:

1. Various crawler frameworks, convenient and efficient downloading of web pages;

2. Multi-threading and process models are mature and stable. Crawlers are a typical multi-tasking scenario, and there will be a long delay when requesting pages. Overall it's more of a wait. Multi-threading or processes will optimize program efficiency and improve the downloading and analysis capabilities of the entire system.

3. GAE support. When I first wrote the crawler, GAE had just emerged, and it only supported Python. The crawler created using GAE was almost free. At most, I had nearly a thousand application instances at work.

Related recommendations: "Python Tutorial"

The above is the detailed content of Why do crawlers use python?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn