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

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
主站蜘蛛池模板: 浦城县| 三台县| 三亚市| 军事| 张家口市| 华亭县| 乌兰察布市| 华宁县| 河源市| 芦山县| 新源县| 民权县| 新竹市| 若尔盖县| 田林县| 互助| 南靖县| 广平县| 磐安县| 柯坪县| 滦南县| 广丰县| 绥阳县| 阜平县| 冕宁县| 余庆县| 呼伦贝尔市| 台南市| 革吉县| 靖远县| 澄迈县| 桑植县| 天长市| 绥德县| 周口市| 平湖市| 尖扎县| 陆河县| 新宁县| 新营市| 富川|