使用 python requests get请求 https://m.ximalaya.com/down,执行下载,并对内容进行处理,出现时长大与900多秒,影响性能
import requests import time url = "https://m.ximalaya.com/down" start = time.time() res = requests.get(url) a = res.content print(time.time() - start) start = time.time() res.text print(time.time())
原文:https://www.cnblogs.com/spaceapp/p/14174187.html