Skip to content

Conversation

@slavcheprod
Copy link

No description provided.

Rich Jones and others added 30 commits October 17, 2015 00:48
The Mixcloud section was commented as "Bandcamp". Also added more #'s for better visual distinction. 😁
When only the artist's username is provided, make sure we always visit the /music page instead of whatever the main page redirects us to (usually redirects to the /releases or the /merch page).
If the JSON routine fails, the new code attempts to parse the URL as a /music page, trying to return a list of album URLs.
The calling method now recursively downloads each album if the new code successfully returns a list.
Small fix regarding the saved files when using "-f".
Small note added to the Bandcamp section, regarding the newly introduced bug when using "-n".
Reminder: using the browser editor is usually a bad idea 😑
Allow Bandcamp to parse and download all albums
[[1]] Correct album title is now retrieved more reliably, even for "orphan tracks" (tracks without an album). 
[[2]] The "genre" audio tag is now set using the artist's Bandcamp tags. 
[[3]] My previous regex is now fixed to also match "orphan tracks" from the /music page. 
[[4]] The check for already downloaded songs now works even without the "-f" flag (see notes). 
[[5]] Name formatting is fixed for "orphan tracks" and also for downloading without the "-f" flag. 
[[6]] Any audio tags already set in a downloaded file are now erased to avoid problems. 
[[7]] Fixed an error when trying to parse undefined year data of certain "orphan tracks". 
[[Notes]] Improvement 4 could be replicated to other methods and raises an idea for a "-r" flag to forcefully redownload songs.
The recursive call of the Bandcamp scraper now doesn't break the "--open" option anymore.
Additionally, "orphan tracks" (tracks that do not belong to any album) are now download to a folder with the artist's name when using "-f".
Multiple Bandcamp-related improvements
We should only "flatten" the output list if necessary, otherwise the filename gets split into single characters and the "--open" option doesn't work.
Fix issue #38 for non-recursive Bandcamp scraping
atr0s and others added 28 commits October 25, 2016 08:02
Shrinking the array to get around an issue whereby the number of files being scraped wasn't being respected
download_tracks() (and some other functions) didn't check if file is
already downloaded when launched without -f argument, now they do.
Removed print(e) in download_tracks(), because it can cause crash on
Windows. It's actually a good idea to remove all exception printing where
there can be unicode characters, because they can cause crash on Windows.
NUM_TRACKS fails under some circumstances
This PR adds support for musicbed.com.
This is done using new process_musicbed() function.

It also adds 2 new arguments to SoundScrape:
-L or --login sets login text.
-P or --password sets password text.
process_musicbed() requires login and password information in order to
download full songs from the site.
It will notify user if he/she forgot to set their login and/or password.
Of course these arguments can be also used in different plugins if they
would need them.

Also download_file() function is modified in order to OPTIONALLY download using
Session object and/or params. These changes were required for
process_musicbed() to do it's job. No other plugins should be affected by
this change.

At last test.py was updated with musicbed test.

I made several tests, fixed errors I could find, so far it seems to be
stable.
Adds support for MusicBed.com (#153)
Typo in argparse description
@SimplicityGuy
Copy link

This PR is very stale, into a branch that itself is very stale. MixCloud support was experimental and has been broken for a while. Before work started on PR #241, it was already broken and was removed in that PR.

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.