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

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
主站蜘蛛池模板: 紫云| 东丽区| 佛教| 安西县| 博客| 仲巴县| 丹寨县| 祁东县| 安图县| 乃东县| 怀宁县| 苏尼特左旗| 应用必备| 南江县| 鄂伦春自治旗| 通州区| 桐柏县| 平安县| 大邑县| 沙河市| 宁海县| 泰宁县| 霍邱县| 翁源县| 新龙县| 循化| 河源市| 山丹县| 绵阳市| 富民县| 师宗县| 陆河县| 日照市| 浑源县| 千阳县| 宜都市| 寻乌县| 新平| 崇文区| 荥阳市| 永清县|