Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Audio stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=5)
-   -  

Record/Capture/Download/Rip/Save Music from Deezer

(http://stream-recorder.com/forum/showthread.php?t=2023)

cw2k 12-13-2015 09:51 PM

Re: Record/Capture/Download/Rip/Save Music from Deezer


 
Oh dear :eek: this 'worm-code' is a maze for the eyes.

Be smart and make it more beautiful with:

http://jsbeautifier.org

That's how it'll look parse & formated:
Code:

{
    "id": 11898198,
    "title": "A Head Full Of Dreams",
    "upc": "825646487059",
    "link": "http:\/\/www.deezer.com\/album\/11898198",
    "share": "http:\/\/www.deezer.com\/album\/11898198?utm_source=deezer&utm_content=album-11898198&utm_term=0_1450066636&utm_medium=web",
    "cover": "http:\/\/api.deezer.com\/album\/11898198\/image",
    "cover_small": "http:\/\/e-cdn-images.deezer.com\/images\/cover\/b8ead91b2156f1e69ebd26020221a24b\/56x56-000000-80-0-0.jpg",
    "cover_medium": "http:\/\/e-cdn-images.deezer.com\/images\/cover\/b8ead91b2156f1e69ebd26020221a24b\/250x250-000000-80-0-0.jpg",
    "cover_big": "http:\/\/e-cdn-images.deezer.com\/images\/cover\/b8ead91b2156f1e69ebd26020221a24b\/500x500-000000-80-0-0.jpg",
    "genre_id": 85,
    "genres": {
        "data": [{
            "id": 85,
            "name": "Alternative",
            "picture": "http:\/\/api.deezer.com\/genre\/85\/image",
            "type": "genre"
        }]
....

^-and on the site it'll also gonna have syntax highlighting.
Like this JSON is gonna be more fun
:D

... or talking about chrome. Another simple approach is this.
1. Copy the JSON code
2. Open the console (shift+ctrl+i) and type a=
3. Paste the code so it may look like this
Code:

a={
    "id": 11898198,
    "title": "A Head Fu...
...rack"
        }]
    }
}

4. Now you can browser the tree.:)

However first maybe the best + paste the code in a nice code editor like Notepad++ (Eclipse, Netbeans or whatever you like) select 'JSON' as language so you get highlighting & U can now also open/close the tree as well.

an07her 12-14-2015 12:54 AM

Re: Record/Capture/Download/Rip/Save Music from Deezer


 
Yes, I don't want the streaming links. Source files should be the same.
And FLAC itself doesn't have encryption, and if links are visible I can access that and download it.

But I still don't understand how to get that FULL_PATH_ORIGIN.

I guess it's not possible, since you would implement it probably if it was.
Hope I'm not annoying, just trying to understand what happens if you can directly access FLAC without any tokens/sessionid.

Sparx 12-14-2015 02:53 AM

Re: Record/Capture/Download/Rip/Save Music from Deezer


 
Quote:

Originally Posted by an07her (Post 81644)
Yes, I don't want the streaming links. Source files should be the same.
And FLAC itself doesn't have encryption, and if links are visible I can access that and download it.

But I still don't understand how to get that FULL_PATH_ORIGIN.

I guess it's not possible, since you would implement it probably if it was.
Hope I'm not annoying, just trying to understand what happens if you can directly access FLAC without any tokens/sessionid.

The streaming link is exactly what you want, if you try to download the flac file.
But the link is not visible, except you sniff it in you network while streaming flac.

The FULL_PATH_ORIGIN variable is a path on their filesystem. I doubt you can access that.
To get it, you have to call the JavaScript API, as I told you before.
You need to do a post to this url:
Code:

http://www.deezer.com/ajax/gw-light.php?api_version=1.0&api_token=TOKEN&input=3
For the token you can go to deezer.com and look for checkForm in the source code.
Your post data has to look like this:
Code:

[{"method":"song.getListData","params":{"sng_ids":[SONGID]}}]

jonaaa 12-14-2015 03:04 AM

Re: Record/Capture/Download/Rip/Save Music from Deezer


 
Quote:

Originally Posted by cw2k (Post 81639)
Oh dear :eek: this 'worm-code' is a maze for the eyes.

Be smart and make it more beautiful with:

http://jsbeautifier.org

That's how it'll look parse & formated:
Code:

{
    "id": 11898198,
    "title": "A Head Full Of Dreams",
    "upc": "825646487059",
    "link": "http:\/\/www.deezer.com\/album\/11898198",
    "share": "http:\/\/www.deezer.com\/album\/11898198?utm_source=deezer&utm_content=album-11898198&utm_term=0_1450066636&utm_medium=web",
    "cover": "http:\/\/api.deezer.com\/album\/11898198\/image",
    "cover_small": "http:\/\/e-cdn-images.deezer.com\/images\/cover\/b8ead91b2156f1e69ebd26020221a24b\/56x56-000000-80-0-0.jpg",
    "cover_medium": "http:\/\/e-cdn-images.deezer.com\/images\/cover\/b8ead91b2156f1e69ebd26020221a24b\/250x250-000000-80-0-0.jpg",
    "cover_big": "http:\/\/e-cdn-images.deezer.com\/images\/cover\/b8ead91b2156f1e69ebd26020221a24b\/500x500-000000-80-0-0.jpg",
    "genre_id": 85,
    "genres": {
        "data": [{
            "id": 85,
            "name": "Alternative",
            "picture": "http:\/\/api.deezer.com\/genre\/85\/image",
            "type": "genre"
        }]
....

^-and on the site it'll also gonna have syntax highlighting.
Like this JSON is gonna be more fun
:D

... or talking about chrome. Another simple approach is this.
1. Copy the JSON code
2. Open the console (shift+ctrl+i) and type a=
3. Paste the code so it may look like this
Code:

a={
    "id": 11898198,
    "title": "A Head Fu...
...rack"
        }]
    }
}

4. Now you can browser the tree.:)

However first maybe the best + paste the code in a nice code editor like Notepad++ (Eclipse, Netbeans or whatever you like) select 'JSON' as language so you get highlighting & U can now also open/close the tree as well.

Wow, thanks... really nice but Notepad++ can do this too right?

Lost in Translation 12-26-2015 02:47 AM

Re: Record/Capture/Download/Rip/Save Music from Deezer


 
Just registered to say thanks Sparx for your hard work :) program works perfectly.I have one questions ,probably a stupid one (I have no idea how these things work )is it safe to use ? could deezer know we are downloading the songs ?

jonaaa 12-26-2015 10:52 AM

Re: Record/Capture/Download/Rip/Save Music from Deezer


 
Quote:

Originally Posted by Lost in Translation (Post 81903)
Just registered to say thanks Sparx for your hard work :) program works perfectly.I have one questions ,probably a stupid one (I have no idea how these things work )is it safe to use ? could deezer know we are downloading the songs ?

I'm using this for 2 months already, no problems... dont worry about this, deezer can't touch you, they can just "patch" this download method, they can't do anything more than that...

seanumuc 12-30-2015 06:11 AM

Re: Record/Capture/Download/Rip/Save Music from Deezer


 
Anyone having issues downloading today?

tzshusqs 12-30-2015 06:13 AM

Re: Record/Capture/Download/Rip/Save Music from Deezer


 
Hello guys, long time lurker, first time poster: I was wondering if the Deezer downloader has stopped working for anyone else?

Symptoms - attempting to downloaded checkmarked music causes DOWNLOADING to appear but 0kbps download and progress bar doesn't move. After a while the program becomes IDLE again. No music in folder, I disabled antivirus, made sure it was unblocked, rebooted computer, updated java, redownloaded it - nothing seems to make it work again (worked perfectly before). ;~;

I've tried on a second computer and it doesn't work either. Opened deezer in a web browser and it opens up just fine. I've even tried running it under a VPN and it doesn't work.

And at the same time, I can't rip from rdio anymore because they've closed.

I was using Deezer and Rdio to download hard to find spotify tracks, is the only option left to soundcard record? I've tried to dl the mobile links from the site in the past as it plays but they're distorted beyond recognition ;_;

seanumuc 12-30-2015 06:23 AM

Re: Record/Capture/Download/Rip/Save Music from Deezer


 
I'm pretty certain it's been patched.

tzshusqs 12-30-2015 06:26 AM

Re: Record/Capture/Download/Rip/Save Music from Deezer


 
Quote:

Originally Posted by seanumuc (Post 81945)
I'm pretty certain it's been patched.

Maybe manual dl still works? They still have the 320kbps mp3 references in the source code...


All times are GMT -6. The time now is 02:15 AM.