Return license information of albums and tracks
See original GitHub issueI do not see any license information returned by getAlbumInfo
and it would be nice to provide that information.
For example, running:
var bandcamp = require("bandcamp-scraper");
var albumUrl='https://bit-rot.bandcamp.com/album/twisted-pair';
console.log(">>>", albumUrl);
bandcamp.getAlbumInfo(albumUrl, function(error, albumInfo) {
if (error) { console.log(error); }
else { console.log(albumInfo); }
});
returns:
>>> https://bit-rot.bandcamp.com/album/twisted-pair
{ artist: 'bit rot',
title: 'Twisted Pair',
imageUrl: 'https://f4.bcbits.com/img/a1538849378_2.jpg',
tracks:
[ { name: 'Uplink',
url: 'https://bit-rot.bandcamp.com/track/uplink',
duration: '06:19' },
{ name: 'Driver',
url: 'https://bit-rot.bandcamp.com/track/driver',
duration: '04:34' },
{ name: 'Psychadelic Death Trip',
url: 'https://bit-rot.bandcamp.com/track/psychadelic-death-trip',
duration: '06:18' },
{ name: 'POST',
url: 'https://bit-rot.bandcamp.com/track/post',
duration: '02:22' } ],
raw:
{ current:
{ purchase_url: null,
release_date: '24 Jan 2018 00:00:00 GMT',
new_desc_format: 1,
selling_band_id: 1888597831,
set_price: 7,
killed: null,
purchase_title: null,
minimum_price_nonzero: 7,
title: 'Twisted Pair',
new_date: '24 Jan 2018 02:32:19 GMT',
featured_track_id: 286527331,
minimum_price: 0,
is_set_price: null,
upc: null,
credits: 'https://celebornidril.bandcamp.com/',
private: null,
art_id: 1538849378,
require_email: null,
id: 1214178877,
band_id: 1888597831,
about: 'Collaborations between bit rot & Celebornidril',
require_email_0: null,
download_pref: 2,
publish_date: '24 Jan 2018 03:19:17 GMT',
audit: 0,
type: 'album',
download_desc_id: null,
auto_repriced: null,
artist: null,
mod_date: '17 Sep 2018 17:50:13 GMT' },
is_preorder: null,
album_is_preorder: null,
album_release_date: '24 Jan 2018 00:00:00 GMT',
preorder_count: null,
hasAudio: true,
art_id: 1538849378,
trackinfo: [ [Object], [Object], [Object], [Object] ],
playing_from: 'album page',
featured_track_id: 286527331,
initial_track_num: null,
packages: null,
url: 'http://bit-rot.bandcamp.com/album/twisted-pair',
defaultPrice: 7,
freeDownloadPage:
'https://bandcamp.com/download?id=1214178877&ts=1550427274.1409455241&tsig=2e8c8dec6b5ffd439741a5698ac690d4&type=album',
FREE: 1,
PAID: 2,
artist: 'bit rot',
item_type: 'album',
id: 1214178877,
last_subscription_item: null,
has_discounts: null,
is_bonus: null,
play_cap_data: null,
client_id_sig: null,
is_purchased: null,
items_purchased: null,
is_private_stream: null,
is_band_member: null,
licensed_version_ids: null,
package_associated_license_id: null,
tralbum_collect_info: { show_collect: true, show_wishlist_tooltip: false } },
url: 'https://bit-rot.bandcamp.com/album/twisted-pair' }
The album is put under a CC-BY-SA
license but I don’t see that reflected in the returned data. I do see a licensed_version_ids
and package_associated_license_id
but I’m not sure if that’s relevant to the license the album is put under and they’re both null
in this case.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How can I sell an album that has cover songs in the United ...
In order to distribute a cover song through CD Baby, you must, at minimum, acquire a mechanical license for downloads.
Read more >Music Licensing for Physical, Audio-only Products
Licenses should be secured before you distribute your physical product. Reputable manufacturers will require proof of licensing before they ...
Read more >ASCAP Licensing
ASCAP does not license the right to record music on a CD, tape, or as part of an audio-visual work such as a...
Read more >FAQs | Audio Network US
Do I get all of the different versions of the track when I buy a licence online? ... To request a refund, please...
Read more >How To License Your Music And GET PAID! {2022 Update}
Most licensing companies will store your digital works in a music library. This is where record labels and music supervisors can search, locate ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here is what I came up with for the license map:
I (ahem) have some scraped data from Bandcamp and I don’t see any reference to license type
7
. Maybe Bandcamp reserved this license type to besa;3.0
but since essentially no one uses that license and/or Bandcamp doesn’t provide it as an option it doesn’t show up.Here are some bands to test to see the above license type map is correct:
Note, the above list is in no way an endorsement of the bands or any statement about their quality.
All the links that I could find for the Creative Commons licenses from Bandcamp refer to version 3.0 (for example licenses/by-sa/3.0/).
Any chance on getting this license mapping folded into
bandcamp-scraper
? I’m happy to make a ticket, issue a pull request, etc. if that’s something you’re open to.Maybe the type
7
is not used anymore or is planned to be used in the future, I don’t know!Yes, it would be nice to add it to the scraper! 😄 You can open an issue and create a pull request!