官术网_书友最值得收藏!

Concurrent Web Requests

This chapter will focus on the application of concurrency in making web requests. Intuitively, making requests to a web page to collect information about it is independent to applying the same task to another web page. Concurrency, specifically threading in this case, therefore can be a powerful tool that provides a significant speedup in this process. In this chapter, we will learn the fundamentals of web requests and how to interact with websites using Python. We will also see how concurrency can help us make multiple requests in an efficient way. Finally, we will look at a number of good practices in web requests.

In this chapter, we will cover the following concepts:

  • The basics of web requests
  • The requests module
  • Concurrent web requests
  • The problem of timeout
  • Good practices in making web requests
主站蜘蛛池模板: 衡山县| 永靖县| 微山县| 铁力市| 贵溪市| 自治县| 弋阳县| 荃湾区| 苏尼特左旗| 栾城县| 阿巴嘎旗| 怀远县| 蕲春县| 兴业县| 惠来县| 云龙县| 千阳县| 普兰县| 民勤县| 永清县| 甘肃省| 朔州市| 通道| 崇礼县| 莒南县| 长海县| 保亭| 巴中市| 清丰县| 宝山区| 定西市| 锡林浩特市| 达州市| 蒙城县| 延边| 讷河市| 讷河市| 乐山市| 溧阳市| 洛阳市| 梓潼县|