lbryio / lbryio/lbry-sdk

Allow downloading of all media in a collection

Open
#3,615 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
7.2k
Forks
493
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how lbrynet get handles a collection URL and how lbrynet collection resolve exposes its items. Define the behavior for downloading every media item into --download_directory, then add coverage for the collection-download path and verify that the existing single-item behavior remains unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.