如何替换使用Python请求下载的pdf
文件的名称?在
我想将其另存为Manual_name1.pdf
,而不是Elkinson%20Jeffrey.pdf
CSV文件看起来像:
Manual_name1 https://www.adndrc.org/diymodule/doc_panellist/Elkinson%20Jeffrey.pdf
Manual_name2 http://www.parliament.bm/uploadedFiles/Content/House_Business/Presentation_of_Papers_and_of_Reports/PCA%20Report%209262014.pdf
manual_name3 http://www.ohchr.org/Documents/HRBodies/OPCAT/elections2016/HaimoudRamdan.pdf
我的当前代码:
^{pr2}$
而不是
使用csv文件中的特定列:
^{pr2}$如果文件名在第一列中,则应使用
但是,在使用请求调用链接时,必须更改对链接本身的引用:
相关问题 更多 >
编程相关推荐