AlphaSlayer1964 / kemono-dl

A simple kemono.party downloader using python.
509 stars 82 forks source link

[FEATURE REQ] Read from config file #93

Closed afterdelight closed 2 years ago

afterdelight commented 2 years ago

Description

Add command to read default config from config file

Its a hassle to write again and again for many downlaods.

Additional comments

Example: config file name: kemono_config --read-config kemono_config

kemono_config(txt file) will have commands such as examples:(seperated by new lines) --cookies kemono.party_cookies.txt --from-file gumroad_aroma.txt

unless the command overriden with the new value. it will use the default value from config file.

AlphaSlayer1964 commented 2 years ago

Use a batch/bash file to run your command.

afterdelight commented 2 years ago

i already use a cmd file on windows to run the commands. since the new update fucked my cmd bats. now i have to fix all the cmd bats which is a hassle.

AlphaSlayer1964 commented 2 years ago

Can I ask why you need multiple bat files? Also you should be able to set a variable in the bat file that is all the options you want in every command.

OPTIONS = your_args
python kemono-dl %OPTIONS --links link
python kemono-dl %OPTIONS --links link2

I believe that is the syntax

afterdelight commented 2 years ago

because i want to run multiple downloads from bats to maximize the download speed since kemono-dl dl speed is very random and I have too many favorites users, above 100++. i cant write all in a single cmd file. Also i have a specific download orders i follow depends of my mood which user i want to download the datas today etc.

AlphaSlayer1964 commented 2 years ago

Ok I'll look into adding an option to read from a config file.

afterdelight commented 2 years ago

ty, ill be waiting!!