Xonshiz / anime-dl

Anime-dl is a command-line program to download anime from CrunchyRoll and Funimation.
MIT License
229 stars 37 forks source link

add the ability to select a collection instead of all of them (useful to ignore dubs) #95

Closed Abu3safeer closed 1 year ago

Abu3safeer commented 5 years ago

Hello everyone,

I have checked simplymemes/crunchyroll-dl, and it is awesome for hardsub, too bad it does not support softsub until now.

but I found a great idea on simplymemes/crunchyroll-dl, it is selecting specific collection.

Normally it would download all of these collections, but I only need the japanese version, not dubbed. image

so is it possible to select specific collection?

For now I am using "Q" button to to stop download every dubbed episode, but it is not really effective way.

any ideas?

axipher commented 5 years ago

I believe the purpose of this project was to provide a simple way to bulk download a show for offline viewing so added features like that are slow as there are only a couple people contributing to the codebase here.

It's annoying, but you could try using the -range option to only download the ranges of episodes you want that would fall under different collections.

What I do is just leave the DUB's in the Output folder so that they get skipped each time I download new episodes. I know not everyone can afford cheap storage, so that isn't a good blanket solution by any means.

I've been meaning to take a crack at the code to implement a archive text file similar to youtube-dl, but just haven't had the time or energy for it yet.

Abu3safeer commented 5 years ago

You are correct about the space, specially that every hard disk consumes more power.

anyway I just liked the idea, I am not a Python programmer so I really can't do too much, just edit some basic codes from my programming knowledge.

axipher commented 5 years ago

A line of code could possibly be added to ignore any episode with " dub " in them, but that would be a pretty low effort solution.

An alternative would be adding some input flag that you can feed a string like below that would required any word with a "+" before it to appear in the episode and skip any episodes that have any words with a "-" before them .\anime-dl.exe -v -i <show_name> -u username -p password -r 1080p -textqualifier "-dub -PV -OVA +Episode" or .\anime-dl.exe -v -i <show_name> -u username -p password -r 1080p -tq "-dub -PV -OVA +Episode" The above code would skip any episodes where the filename contains PV, dub or OVA in the title and only download episodes that have "Episode" in the filename.

Would probably have to take more time inspecting the playlist file to see if it has enough details that you can easily group episodes by collections like Crunchyroll does already.