self_example/Spider/chapter02_爬虫基本库/httpx库_http2协议/httpxLearning.py

8 lines
263 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#-*- encoding:utf-8 -*-
'''
@Author : dingjiawen
@Date : 2023/11/7 19:00
@Usage : httpx库学习request不支持http2.0相关协议。需要使用httpx。
@Desc : httpx用法与request类似,具体内容参考:https://github.com/Python3WebSpider/HttpxTest
'''