Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

how to download a file in python using idm

import comtypes.client as cc
import comtypes

referrer = ""
cookie = ""
postData = ""
user = ""
password = ""
cc.GetModule(["{PUT_UUID_HERE}",1,0])
# not sure about the syntax here, but cc.GetModule will tell you the name of the wrapper it generated
import comtypes.gen.IDManLib as IDMan
idm1 = cc.CreateObject("IDMan.CIDMLinkTransmitter", None, None, IDMan.ICIDMLinkTransmitter2)
idm1.SendLinkToIDM("http://www.internetdownloadmanager.com/idman401.exe",
referrer, cookie, postData, user, password, r"C:", "idman401.exe", 0)
Comment

PREVIOUS NEXT
Code Example
Python :: how to print alternate numbers in python 
Python :: is there a python command that clears the output 
Python :: python how to set multiple conditional for single var 
Python :: numpy multidimensional indexing 
Python :: convert number to time python 
Python :: how to code in python 
Python :: make csv lowercase python 
Python :: how to get the year in python 
Python :: floyd triangle python 
Python :: python loop through array backwards 
Python :: months of the year python list 
Python :: python invert dictionary 
Python :: python system of equations 
Python :: google translate with python 
Python :: plt.figure resize 
Python :: update python in miniconda 
Python :: how to get user input of list in python 
Python :: python compare if 2 files are equal 
Python :: python read excel sheet name 
Python :: how to set icon in tkinter 
Python :: python datetime into 12-hour format 
Python :: while loop countdown python 
Python :: how to create your own programming language in python 
Python :: python change cmd title 
Python :: print random word python 
Python :: creating virtual environment python 
Python :: get certain columns pandas with string 
Python :: python image plot 
Python :: python open folder 
Python :: python backward difference 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =