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

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
主站蜘蛛池模板: 陇南市| 福安市| 上蔡县| 高青县| 项城市| 淳安县| 闻喜县| 平乡县| 东城区| 工布江达县| 福海县| 眉山市| 黔江区| 朝阳市| 屏东市| 广汉市| 辉南县| 个旧市| 双辽市| 凤冈县| 敦化市| 贵定县| 沽源县| 衡山县| 贡觉县| 通化市| 巴彦淖尔市| 繁昌县| 武功县| 柏乡县| 沙洋县| 广饶县| 万年县| 佛山市| 昌江| 新干县| 武定县| 泉州市| 陆良县| 前郭尔| 新津县|