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

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
主站蜘蛛池模板: 和硕县| 鄂温| 河南省| 拉萨市| 三穗县| 独山县| 郑州市| 柳河县| 文化| 灵丘县| 台江县| 虹口区| 额尔古纳市| 贺州市| 陵川县| 平安县| 桐城市| 金平| 沿河| 通化市| 大安市| 德保县| 临夏县| 台湾省| 上杭县| 宁远县| 昆山市| 宝兴县| 平度市| 巨野县| 晋州市| 永安市| 克东县| 进贤县| 鄂伦春自治旗| 齐河县| 永定县| 台湾省| 龙胜| 太原市| 北票市|