python自动解析301、302重定向链接
摘要:
使用模块requests 方式代码如下: 设置属性:allow_redirects = True ,则head方式会自动解析重定向链接,requests.get()方法的allow_redirects默认为True,head方法默认为False 使用requests.get()方法,该方法会自动解析 阅读全文
posted @ 2018-01-24 14:48 林肯公园 阅读(973) 评论(0) 推荐(0)
浙公网安备 33010602011771号