摘要: import asyncio import requests async def request(): url = 'https://www.baidu.com' status = requests.get(url) # 同步阻塞的GET请求 print("This is :",status) pr 阅读全文
posted @ 2025-12-26 17:24 chenlight 阅读(1) 评论(0) 推荐(0)
摘要: import json import requests import logging logging.basicConfig( level=logging.INFO, format='%(asctime)s - %(levelname)s: %(message)s' ) INDEX_URL = 'h 阅读全文
posted @ 2025-12-26 15:09 chenlight 阅读(3) 评论(0) 推荐(0)