Closed matkoniecz closed 1 year ago
Note that it is what
from bandcamp_api import Bandcamp
bc = Bandcamp()
results = bc.search_artist(search_term)
for entry in results:
print(entry.artist_url)
gives us and there is no obvious way to get ling with album suffix
I've looked into this last night.
There is a script tag that is used to get artist info that only exists when viewing an album.
I have been (slowly) working on moving more of the code to use the api calls that the iOS app uses.
Currently, the band-aid fix is just to use some random album instead of the base artist url
just to use some random album instead of the base artist url
The tricky part is how to obtain album of artist if you cannot fetch artist data
Just use the album link.
But with the api call uses numerical band ids, so in the future getartist will prob just be a fancy way to say grab the first search result.
Same goes with all of the get functions tbh
Just use the album link.
Yes, but getting it is a bit tricky (I want to find which of some music set is available from Bandcamp, and currently I search by artist name). I do not have album data in this dataset.
okay, i fixed this. i even added support for /music urls
Second query fails.