请问:我已经爬到了文件的下载地址,如:http://10.10.10.10/nbyj_downloadFile.action?fid=80885,如何利用爬虫把这个文件下载下来?网上找了好久也没有答案,求助,谢谢!
在浏览器中可以看到Content-Disposition:attachment; filename="%B9%D8%D3%DA%B1%ED%D5%C3%D0%FB%D6%DD%C7%F8%C9
%D9%CF%C8%B6%D3%A1%B0%BA%EC%C1%EC%BD%ED%CF%E0%D4%BC%
D6%D0%B9%FA%C3%CE%A1%AA%A1%AA%D1%A7%CF%B0%B5%B3%B5%C4%CA%AE%BE%C5%B4%F3
%D5%F9%D7%F6%D0%C2%CA%B1%B4%FA%BA%C3%B6%D3%D4%B1%A1%
B1%D3%C5%D0%E3%D6%F7%CC%E2%D7%F7%C6%B7%B5%C4%BE%F6%B6%A8.docx"
但用爬虫获取不到
beautiful soup?