当前位置:网站首页>Experience in developing large crawlers in requests Library

Experience in developing large crawlers in requests Library

2022-07-23 14:19:00 dom_ l_ z

Order of magnitude :100 m html page

1. In the early , If you can't judge by yourself, catch more exceptions , There are also mistakes in some inconspicuous places .

2. Determine the magnitude in the early stage , Take protective measures against the interruption of reptiles for various reasons , Reduce the phenomenon of multiple crawls of a page

3. In the early stage, you can use manual multi process debugging ( See if there is a problem with the account ), Turn to multithreading after stabilization

4. Program development nonsense : High cohesion , Low coupling , Think clearly before writing , Nonsense is really important

原网站

版权声明
本文为[dom_ l_ z]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/204/202207230811097926.html