Kinuseka / GoGo-Downloader

Python script that downloads anime from Gogoanime.so
GNU General Public License v3.0
1 stars 1 forks source link

[Feature Request] IDM Support #7

Open as280093 opened 3 years ago

as280093 commented 3 years ago

currtently aria2 is good but idm has a UI interface and easy to manage all downloaded

in python we can send a download request

from subprocess import call

IDM = r'C:\Program Files (x86)\Internet Download Manager\IDMan.exe'
DownUrl = r'https://gogoanime.vc/pokemon-3393.mp4'
DownPath = r'E:\'
OutPutFileName = 'test.exe'
call([IDM, '/d',DownUrl, '/p',DownPath, '/f', OutPutFileName, '/n', '/a'])

and this just sends a download request but if the user wants to send a request and auto start download there are other parameters that can be added

You can start IDM with the following parameters from the command line

idman /s
 Or idman /d URL  [/p local_path] [/f local_file_name] [/q] [/h] [/n] [/a]

 Parameters:
/d URL  -Download a file, etc.
IDMan.exe /d "http://www.internetdownloadmanager.com/path/File Name.zip"
 /s-Start the queue in task scheduling
 /p local_path-define the local path where the file to be saved is placed
 /f local local_file_name-define the file name of the file to be saved locally
 /q-IDM will exit after a successful download. This parameter only works for the first copy
 /h-IDM will suspend your connection after successful download
 /n-Enable quiet mode when you don't want IDM to ask any questions
/a  -Add a specified file to the download queue with /d, but don’t start downloading

 Parameters /a, /h, /n, /q, /f local_file_name, /p local_path works only when you specify file download /d URL

currently, I was adding it manually each time but having it as a 2nd option could help others too

Kinuseka commented 3 years ago

This is a great suggestion, but unfortunately my work environment is only limited to an android environment since my PC broke 2 years ago. However, you could contribute and code for the Desktop version.

We can do this by separating 2 different platforms in the repository. Example:-

Main

RELEASE 1.4:
You                         Me
|                               |
|                               |
V1.4.                     V1.4
Changes.             Changes
(Windows).          (Android)
Patch notes.        Patch notes.

Release v1.4:
Packages:
GoGoDownloader(Windows).zip
GoGoDownloader(Android).zip
Kinuseka commented 3 years ago

That was accidental