Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to exclude (or focus on) one format #8

Open
katrinleinweber opened this issue Dec 23, 2019 · 5 comments
Open

Add option to exclude (or focus on) one format #8

katrinleinweber opened this issue Dec 23, 2019 · 5 comments

Comments

@katrinleinweber
Copy link

Hello & thanks for publishing this tool! It has helped me order my HB backups nicely :-)

There is one feature request I'd like to make: an --only= or --exclude= option to pass a format, which is then only downloaded or skipped, so people can save bandwidth & storage space if they know they either don't need a specific format, or only that one.

Thank you :-) Maybe a good item for next Hacktoberfest?

@affinityv
Copy link
Contributor

Hi, I've added an ability to use a .ignore file in my repo.

https://github.com/affinityv/humblebundle-downloader

There is also a shell script to find out what the download types are for the bundle.

@affinityv
Copy link
Contributor

affinityv commented Jan 22, 2020

Further updates, can now use .include and .exclude files as well as do fresh downloads without re-downloading every file. See the updated README.md for more details.

@katrinleinweber
Copy link
Author

Thank you for those features & the pointer :-) I'll give it a try with the next interesting HumbleBundle!

@diogogmt
Copy link
Owner

@katrinleinweber

You can specify the asset type when downloading a bundle, to only download pdf and epub assets;
hbd download -key xxx -types pdf,epub

I like the idea of being able to either include or exclude the types though.

By default the types arg can be inclusive, and we could add a new exclude flag which would instead exclude the defined types.

@katrinleinweber
Copy link
Author

katrinleinweber commented May 28, 2020

Seeing it now, -types is 90% of the use-case already, thank you :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants