赞
踩
# coding:utf8
from pymysql import *
import os
datas=[
("1150","社会事业10年法律意见书.pdf","https://www.chinabond.com.cn/resource/1472/1488/1505/18682/21000/18612/157291370/157292076/157292447/161855508/1672802823248947347087.pdf"),
]
def IDMdownload(DownUrl, DownPath, FileName):
if "项目" in FileName:
IDM = '"D:\\Internet Download Manager 6.37.14 已激活 免安装\\IDMan.exe"'
command ='"'+ ' '.join([IDM, '/d', DownUrl, '/p', DownPath, '/f', '"%s"'%FileName, '/n','/a'])+'"'
print(command)
os.system(command)
for item in datas:
IDMdownload(item[2],r'D:\data',item[0]+'_'+item[1])
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。