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

Added full discography download #211

Merged
merged 4 commits into from Jun 21, 2023
Merged

Added full discography download #211

merged 4 commits into from Jun 21, 2023

Conversation

ghost
Copy link

@ghost ghost commented Jun 17, 2023

This fixes Issue #150. It downloads the full discography, gives a list of URLs it will download, and will download both albums and tracks from an artist's music page.

@@ -84,6 +84,9 @@ def main():
urls = Bandcamp.generate_album_url(arguments['--artist'], arguments['--track'], "track")
elif arguments['--artist']:
urls = Bandcamp.get_full_discography(arguments['--artist'], "music")
print(f"{len(urls)} albums/tracks have been found:")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than this print I don't really have an issue with the PR. I just don't see a reason to clutter the terminal with anything more than the existing progress bar especially considering its not really a value add to print the urls.

If you want to dump them in debug that is fine though.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, I decided to remove it. It's already committed.

@Evolution0 Evolution0 merged commit 384441a into iheanyi:master Jun 21, 2023
@Epictyphlosion
Copy link

Awesome! Now how do I input the command arguments correctly?

@Evolution0
Copy link
Collaborator

Awesome! Now how do I input the command arguments correctly?

Should just need to pass the discography page as the URL.

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

Successfully merging this pull request may close these issues.

2 participants