# Spotify data fetching

**URL:** https://community.metabrainz.org/t/spotify-data-fetching/279858
**Category:** MusicBrainz
**Tags:** spotify, musicbrainz
**Created:** [June 2, 2017, 12:23pm UTC](https://community.metabrainz.org/t/spotify-data-fetching/279858 "2017-06-02T12:23:38Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![ertert](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/e/34f0e0/32.png) [@ertert](https://community.metabrainz.org/u/ertert)
#### Post date: [June 2, 2017, 12:23pm UTC](https://community.metabrainz.org/t/spotify-data-fetching/279858/1 "2017-06-02T12:23:38Z")

</div>

I have tons of music which are not in MB’s database, but I can see them in Spotify. Is there a sharable copy and paste plugin which could fetch info from Spotify?

---

<div class="post-metadata">

### Author: ![dns\_server](https://community.metabrainz.org/user_avatar/community.metabrainz.org/dns_server/32/175_2.png) [@dns\_server](https://community.metabrainz.org/u/dns_server)
#### Post date: [June 2, 2017, 12:36pm UTC](https://community.metabrainz.org/t/spotify-data-fetching/279858/2 "2017-06-02T12:36:52Z")

</div>

Check out the following but I have not used it myself.

> **[Freso / spotify2musicbrainz](https://gitlab.com/Freso/spotify2musicbrainz)**
>
> Python script for importing albums on Spotify to MusicBrainz.

---

<div class="post-metadata">

### Author: ![ertert](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/e/34f0e0/32.png) [@ertert](https://community.metabrainz.org/u/ertert)
#### Post date: [June 2, 2017, 2:34pm UTC](https://community.metabrainz.org/t/spotify-data-fetching/279858/3 "2017-06-02T14:34:53Z")

</div>

hi - tried it, but did not get how it works. Please share the basic steps?

I have copied the py code into the plugin folder but MB does not see it…

---

<div class="post-metadata">

### Author: ![reosarevok](https://community.metabrainz.org/user_avatar/community.metabrainz.org/reosarevok/32/69228_2.png) [@reosarevok](https://community.metabrainz.org/u/reosarevok)
#### Post date: [June 2, 2017, 3:17pm UTC](https://community.metabrainz.org/t/spotify-data-fetching/279858/4 "2017-06-02T15:17:15Z")

</div>

This is not a plugin supposed to be used with Picard. It’s a script supposed to be run from the command line to submit the data to MusicBrainz itself.

---

<div class="post-metadata">

### Author: ![dns\_server](https://community.metabrainz.org/user_avatar/community.metabrainz.org/dns_server/32/175_2.png) [@dns\_server](https://community.metabrainz.org/u/dns_server)
#### Post date: [June 2, 2017, 3:17pm UTC](https://community.metabrainz.org/t/spotify-data-fetching/279858/5 "2017-06-02T15:17:53Z")

</div>

basic steps should be something like:

> git clone [Freso / spotify2musicbrainz · GitLab](https://gitlab.com/Freso/spotify2musicbrainz.git)  
> cd spotify2musicbrainz  
> pip3 install -r requirements.txt  
> python3 spotify2musicbrainz.py URL

---

<div class="post-metadata">

### Author: ![Freso](https://community.metabrainz.org/user_avatar/community.metabrainz.org/freso/32/25_2.png) [@Freso](https://community.metabrainz.org/u/Freso)
#### Post date: [June 2, 2017, 6:25pm UTC](https://community.metabrainz.org/t/spotify-data-fetching/279858/6 "2017-06-02T18:25:01Z")

</div>

There’s also a topic for the script on these forums:

> [@Spotify2MusicBrainz.py (pre-?)alpha testing release](https://community.metabrainz.org/t/spotify2musicbrainz-py-pre-alpha-testing-release/250504):
>
> Hello! I mentioned some time ago that I was working on a couple of scripts to help feed data into MusicBrainz. The first of these is actually usable now: Once you’ve downloaded it and installed its dependency, you can call it using ./spotify2musicbrainz.py spotify:album:0QScw4gpLu1w9au1Mcf3FL (replacing the Spotify URI at the end with the one for the album you want to add). It’s still in very early development, but hey, “release early, release often”. This is at least the “release early” par…

– feel free to ask questions there too. 😉 (Note that the script currently doesn’t work, as it doesn’t authenticate. I will upload a new version with credentials tonight or this weekend.)

---

<div class="post-metadata">

### Author: ![ertert](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/e/34f0e0/32.png) [@ertert](https://community.metabrainz.org/u/ertert)
#### Post date: [June 2, 2017, 6:49pm UTC](https://community.metabrainz.org/t/spotify-data-fetching/279858/7 "2017-06-02T18:49:30Z")

</div>

great, waiting for it!!!

---

<div class="post-metadata">

### Author: ![ertert](https://community.metabrainz.org/letter_avatar_proxy/v4/letter/e/34f0e0/32.png) [@ertert](https://community.metabrainz.org/u/ertert)
#### Post date: [June 9, 2017, 6:25pm UTC](https://community.metabrainz.org/t/spotify-data-fetching/279858/8 "2017-06-09T18:25:49Z")

</div>

hey, waiting 😉 and probably not only me…🙂

---

<div class="post-metadata">

### Author: ![rdswift](https://community.metabrainz.org/user_avatar/community.metabrainz.org/rdswift/32/7032_2.png) [@rdswift](https://community.metabrainz.org/u/rdswift)
#### Post date: [June 9, 2017, 7:07pm UTC](https://community.metabrainz.org/t/spotify-data-fetching/279858/9 "2017-06-09T19:07:54Z")

</div>

> [@ertert](#):
>
> hey, waiting 😉 and probably not only me…🙂

@ertert, I think the discussion, including script availability has been moved to the link that @Freso posted above.

---

<div class="post-metadata">

### Author: ![Freso](https://community.metabrainz.org/user_avatar/community.metabrainz.org/freso/32/25_2.png) [@Freso](https://community.metabrainz.org/u/Freso)
#### Post date: [July 17, 2017, 7:09pm UTC](https://community.metabrainz.org/t/spotify-data-fetching/279858/10 "2017-07-17T19:09:04Z")

</div>

A post was merged into an existing topic: [Spotify2MusicBrainz.py (pre-?)alpha testing release](https://community.metabrainz.org/t/spotify2musicbrainz-py-pre-alpha-testing-release/250504)
