Closed Sohzph closed 2 years ago
just remove {title} from directory pattern. it will partially solve your problem
just remove {title} from directory pattern. it will partially solve your problem
Where's the directory pattern?
show me your arguments setting
show me your arguments setting
I didn't put any arguments, I just ran it from a PS terminal, something like:
PS C:\Users\sohzp\AppData\Local\kemono-dl> python kemono-dl.py --cookies "cookie.txt" --links https://kemono.party/...
And from there, everything is downloaded in the Downloads folder inside the profile folder, then 2967283723 subfolders which each one inside contains the videos or images, what I want is that these 39468374 subfolders are not created and directly everything is inside the profile folder.
add this argument --dirname-pattern {site}/{service}/{username} [{user_id}] Now it will download to one profile folder only and doesnt have subfolders
add this argument --dirname-pattern {site}/{service}/{username} [{user_id}] Now it will download to one profile folder only and doesnt have subfolders
Thanks, but it gives me an error:
python.exe : The command parameter has already been specified.
On line: 1 Character: 1
+ python kemono-dl.py --cookies "coomer.party_cookies.txt" --links http ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [], ParameterBindingException
+ FullyQualifiedErrorId : ParameterSpecifiedAlready
sorry i meant --dirname-pattern "{site}/{service}/{username} [{user_id}]"
forgot to add the quotes
on what os are you
sorry i meant --dirname-pattern "{site}/{service}/{username} [{user_id}]" forgot to add the quotes
It worked "more or less", but those 29837237823 folders are still there. I would like that inside the creator's folder all the images and videos are already there.
on what os are you
I'm on Windows, but I've used this in Ubuntu as well.
add more of this --filename-pattern "[{published}] [{id}] [{index}] {filename}.{ext}"
or you can download my fork and then replace the files in your src folder
https://github.com/afterdelight/kemono-dl/tree/patched
now no need to add folders and filenames arguments. only need cookies and link arguments.
add more of this --filename-pattern "[{published}] [{id}] [{index}] {filename}.{ext}"
Thanks, now it works 👍
or you can download my fork and replace the file in your src folder
https://github.com/afterdelight/kemono-dl/blob/set-default-arguments/src/args.py
now no need to add folders and filenames arguments. only need cookies and link arguments.
I prefer the arguments, your version downloads .json and .html files xd I just want the images and videos.
well you can set download json and content from true to false in line 50 and line 58 https://github.com/afterdelight/kemono-dl/blob/set-default-arguments/src/args.py
This is not a feature I will be adding. I recommend to use the filename patterns to download everything to a single folder and using the windows file explorer to sort by extensions.
Description
Please add a function that allows to download the posts without them being inside folders and that instead they are sorted into folders according to the type of media they are (images, videos etc.)
After I finish downloading everything, I have to extract all the images from all the folders, then create normally two folders (for images and for videos) manually and it would be great if all this was done automatically.
Additional comments
It is not a development priority but it would certainly do a great favor to the user's quality of life :)