允许下载的时候传入自定义headers
使用方法:
request = DownloadFileReqeust('xxx', 'yyyy', headers={'Referer': 'https://www.google.com.hk/webhp', 'User-Agent': 'Mozilla/5.0'})
使用方法:
request = DownloadFileReqeust('xxx', 'yyyy', headers={'Referer': 'https://www.google.com.hk/webhp', 'User-Agent': 'Mozilla/5.0'})