📜  python requests.get pdf 找不到所请求资源的适当表示 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:55.036000             🧑  作者: Mango

代码示例1
headers = {'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36'}
r = requests.get(url=urlLogin, params=params, headers=headers)