L4cache / kemono-dl

(personal fork of) A simple kemono.party downloader using python.
93 stars 14 forks source link

Media Type Sorting #29

Open A-Random-Mf opened 7 months ago

A-Random-Mf commented 7 months ago

Description

Can it be made possible to sort Images and Videos into separate subdirectories please? Metadata can be sorted out but not media

L4cache commented 6 months ago

I have some idea but I don't like them... Such as add 2 args one work as switch, one for configuring what files are considered as vids or imgs. (more args) Or modify the filename pattern argument, make it able to explicitly specify the pattern for different filename extensions. (no simple on/off switch)

A-Random-Mf commented 6 months ago

I like the more specified filename pattern idea.

On Sun, Feb 18, 2024 at 5:08 PM, 李四 @.***> wrote:

I have some idea but I don't like them... Such as add 2 args one work as switch, one for configuring what files are considered as vids or imgs. (more args) Or modify the filename pattern argument, make it able to explicitly specify the pattern for different filename extensions. (no simple on/off switch)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

anon567321 commented 6 months ago

Here is example --filename-pattern "{ext}\{published} {id} {index} {filename}.{ext}" --inline-filename-pattern "{ext}\{published} {id} i{index} {filename}.{ext}" --other-filename-pattern "html\[{published}] [{id}] {title}\{published} {id} {filename}.{ext}"

L4cache commented 6 months ago

Here is example --filename-pattern "{ext}\{published} {id} {index} {filename}.{ext}" --inline-filename-pattern "{ext}\{published} {id} i{index} {filename}.{ext}" --other-filename-pattern "html\[{published}] [{id}] {title}\{published} {id} {filename}.{ext}"

We still need the functionality to group them together, for example .jpg and .png to the images folder