-
Notifications
You must be signed in to change notification settings - Fork 35
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
Some albumUrl's invalid? #59
Comments
@89z as I said, these URL's being extracted from the result of a call to getArtistInfo (in the album.url properties). |
I guess a better title for this thread might be, Is getArtistInfo returning bad album URLs? Because they don't work. |
Oh hm. Look, so this is just one of the URLs that comes back from https://borderonerecords.bandcamp.com/?label=3961057738&tab=artists So it's already got the query string on there, and this is presumably affecting album.url in the result of getArtistInfo. The root call is like this:
|
My code is quite simple and is based on your examples. I'm scraping a given label's releases, by using I get the same pattern of result when I use a random label on BC's home page, e.g.:
This seems like your bug here. Why do these artist URLs contain this query string? Because now when one uses these URLs to do the following:
Am I using the package in an unintended way? It seems quite fundamentally broken. Perhaps some tests would be useful. |
What is going on? |
Hello and thanks for this great package.
I don't see what's different about certain URL's or label/artist profiles that would affect this, but a call like:
bandcamp.getAlbumInfo('https://yantmusicuk.bandcamp.com/?label=3961057738&tab=artists/album/contravention-ep-sk11x006', ...)
loads data just fine, but another URL (also returned from
getArtistInfo
) does not return data:bandcamp.getAlbumInfo('https://borderonerecords.bandcamp.com/?label=3961057738&tab=artists/album/zener-diode-volt001a', ...)
You'll notice that if you point your browser to the first URL, the album page loads, whereas the second URL redirects to the artist's album grid.
When I click on a link to the album in question, the URL looks different from that returned from getArtistInfo, so I'm wondering if perhaps something's changed and needs to be updated?
Thanks again.
The text was updated successfully, but these errors were encountered: