python获取文件真实链接的方法,针对于302返回码 使用模块requests方式代码如下:importrequestsurl_string="https://******"r=requests.head(url_string,stream=True 真实链接