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

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
主站蜘蛛池模板: 互助| 琼结县| 阿鲁科尔沁旗| 云霄县| 苗栗市| 彩票| 新和县| 晋中市| 巴林右旗| 江安县| 阿拉尔市| 枞阳县| 阿坝| 洛隆县| 长阳| 娄底市| 资溪县| 蛟河市| 前郭尔| 龙游县| 芜湖市| 涞水县| 静宁县| 肇州县| 前郭尔| 鄯善县| 南城县| 洛南县| 洮南市| 伊宁市| 阆中市| 沈阳市| 贵港市| 白朗县| 抚松县| 平和县| 黑水县| 邯郸县| 岱山县| 龙南县| 乐陵市|