摘要:用requests库的get()函数访问百度主页20次 import requests url = 'https://www.baidu.com' for i in range(20): response = requests.get(url) response.encoding = 'utf-8'
阅读全文
posted @ 2023-12-18 19:41
posted @ 2023-12-18 19:41
posted @ 2023-12-18 17:26
posted @ 2023-12-13 12:44
posted @ 2023-12-13 09:16