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

Allow downloading of all media in a collection #3615

Open
FuJa0815 opened this issue May 31, 2022 · 2 comments
Open

Allow downloading of all media in a collection #3615

FuJa0815 opened this issue May 31, 2022 · 2 comments

Comments

@FuJa0815
Copy link

It seems like there is no way of downloading every media in a collection.

Currently, you have to resolve the collection via lbrynet collection resolve --url=lbry://@OdyseeHelp#b/Video-Tutorials, extract all claimids of the items and lbrynet get them one after another. It would be great if you could simply do something like lbrynet get --url=lbry://@OdyseeHelp#b/Video-Tutorials --download_directory=/whatever

@belikor
Copy link
Contributor

belikor commented Jun 25, 2022

There was an attempt to add this functionality but I didn't pursue it further to focus on other things.

However, you can use my library that adds some functionality not available in the original SDK.

import lbrytools
c = lbrytools.download_single("collection-music", collection=True, ddir="/whatever")

@FuJa0815
Copy link
Author

FuJa0815 commented Jul 1, 2022

I think that might be a good first issue for me personally. Maybe I'll try implementing this when I have time.

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

2 participants