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)

aseurope 08-03-2015 01:35 PM

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


 
Going crazy trying to figure this out, with the deezer.com and deezer.link source what exactly can be done to decrypt the mp3? I am able to download them but like mentioned before they sound jumbled due to encryption. Does the deezer.link or groovesquid source include script for decryption? What should be done first? Decrypt using a script then download? or other way around? :confused: :confused: :confused:

Sparx 08-04-2015 11:02 AM

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


 
So I was able to decrypt a downloaded file with the help of the deezer.java file.

But the getDownloadUrl() function seems to be broken. I always get a wrong url.
Especially line 90 and 91:
Code:

String dataHash = new MD5().get(data);
data = dataHash + separator + data + separator;

I decryptet a working url with the aeskey.
seperator + data + seperator seems to be right, but the dataHash is wrong.

aseurope 08-05-2015 09:33 AM

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


 
Can you please provide a step by step, sorry about my newb prog skills.

Thanks.

Sparx 08-18-2015 10:15 AM

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


 
I was not able to get a working URL, so I did something else.

I made a small Java program, that opens a text file with URLs and downloads them.

To get the URLs I used URL Snooper 2.

Click on File -> Advanced Mode, if not already active.
Enter "deezer.com/mobile" in the "Must Contain:" Field and press Sniff Network.
Then just skip through the Songs you want to download from deezer.


Then Click on File -> Export -> Save all URLs to File (just urls)


Then start my program, open the text File, choose a Download Directory, select the Songs you want and click on download.


That's the best I could come up with.

Download Link: Write me a PM
Virus Total:https://www.virustotal.com/de/file/391e3955eb9bbcaca7db44b1fa9b9a5008057ffbf944cf7d2a 79b07b5ac585a4/analysis/1439914325/

Quote:

Originally Posted by aseurope (Post 78742)
Can you please provide a step by step, sorry about my newb prog skills.

Thanks.

To decrypt a file, use getBlowfishKey(Long SongID) to get and set the BlowfishKey and then line 120 to 150 from the posted Deezer.java file.
So instead of downloading a file and then load it into an inputstream, read it directly.

aseurope 08-18-2015 11:19 AM

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


 
Sparx, you are a genius!

Working lovely so far.. great app you put together.

Many thanks!!! :) ;)

derickhommie 08-18-2015 02:19 PM

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


 
Brilliant ! works perfectly but I'm just wondering why some MP3 won't be grabbed/catched ?

Thanks alot man

Sparx 08-18-2015 02:47 PM

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


 
Quote:

Originally Posted by derickhommie (Post 79006)
Brilliant ! works perfectly but I'm just wondering why some MP3 won't be grabbed/catched ?

Thanks alot man

Can you give me an example of songs that didn't get catched?
I mean in this form http://www.deezer.com/track/831319
To get them, choose a song on deezer, click on share and copy the link.
If you give me the Links to the tracks I can look into that.

Luis141080 08-18-2015 05:12 PM

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


 
System works great friend, thank you very much !!!!

derickhommie 08-18-2015 05:40 PM

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


 
Sure mate, here you go
1- http://www.deezer.com/track/105270372
2- http://www.deezer.com/album/10842720 ( song name = omen)
3-http://www.deezer.com/track/105178712
4- http://www.deezer.com/track/104974590
5- http://www.deezer.com/track/104660454
6- http://www.deezer.com/track/105389132

Those are some random ones :)

Sparx 08-19-2015 03:25 AM

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


 
Quote:

Originally Posted by derickhommie (Post 79011)
Sure mate, here you go
1- http://www.deezer.com/track/105270372
2- http://www.deezer.com/album/10842720 ( song name = omen)
3-http://www.deezer.com/track/105178712
4- http://www.deezer.com/track/104974590
5- http://www.deezer.com/track/104660454
6- http://www.deezer.com/track/105389132

Those are some random ones :)

They all worked for me :confused:


Maybe you just skipped them too fast.



Is someone able to translate this ActionScript Code to Java?
The Bitmap Stuff confuses me.
getStreamURL

derickhommie 08-19-2015 05:28 AM

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


 
That's really weird man...Can you confirm they are in 320? and are you currently a premium + user and had this high quality thing ticked?

I've got it mate. If you had the high quality thing ticked, it will only get the ones available in 320 but when I unticked the High quality thing in settings, I were able to snatch them using url snooper :D

I'm actually a quality whore so that's why it kinda matters to me so I can say basically the script is in it's perfect conditions and I'll ask a friend of mine about what you just asked for and see if he can helps :)

Sparx 08-19-2015 06:11 AM

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


 
I tried it again, and they didn't show up in Urlsnooper.
That's probably because the files are still in the browser cache. So when you unchecked the high quality box, they got reloaded and showed up.

If they don't show up, you can also clear the browser cache. That worked for me.

Luis141080 08-19-2015 08:48 PM

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


 
Quote:

Originally Posted by Sparx (Post 79023)
I tried it again, and they didn't show up in Urlsnooper.
That's probably because the files are still in the browser cache. So when you unchecked the high quality box, they got reloaded and showed up.

If they don't show up, you can also clear the browser cache. That worked for me.

I did not come down with chrome 100% of the songs, with Firefox works great.

derickhommie 08-19-2015 11:48 PM

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


 
You are right, it works perfectly on firefox and I deleted the cache and everything seems working flawlessly ! thanks mate..

Sparx 08-21-2015 03:11 AM

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


 
I was so stupid :(
I set the wrong encoding in my java file, that's why my calculated URLs didn't work.

I am going to rewrite my program now, so that you can just enter a track/album/playlist without the need of urlsnooper.

derickhommie 08-21-2015 09:30 AM

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


 
wow perfect news :D thanks man :D

marksum 08-21-2015 10:00 AM

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


 
Great news and thanks for the fantastic work!

Luis141080 08-21-2015 06:49 PM

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


 
Quote:

Originally Posted by Sparx (Post 79101)
I was so stupid :(
I set the wrong encoding in my java file, that's why my calculated URLs didn't work.

I am going to rewrite my program now, so that you can just enter a track/album/playlist without the need of urlsnooper.


;) ;) ;)

reborb 08-22-2015 04:23 AM

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


 
Awesome Sparx! Thanks

SteelyEyed 08-22-2015 12:12 PM

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


 
Nice work Sparx, having a good "off-line mode" for PC would be great!

Thing I don't get is that the downloaded files (from browser cache or direct d/l) are playable and that they sound anything like the original recordings - when any good enc. is used it should not "leak" anything related to the contents.

ospirata 08-22-2015 06:39 PM

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


 
Hi i need the code for download and decrypt the audio file.

Thanks. Sorry for my bad english.

Sparx 08-29-2015 05:45 AM

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


 
New Version: Deezer Downloader 2.0




Changelog:
  • Download from Deezer by entering a Album/Playlist/Track URL (First image)
  • Download from Deezer by Searching (Second image)
  • Faster fetching because of less API calls
  • Support for playlists with more than 400 Tracks
  • If a track is not available and the playlist lists an alternative ID, the song with the alternative ID will be downloaded

Download: http://www.share-online.biz/dl/8ZTYDUTNPXZR

NDA33 08-30-2015 04:22 AM

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


 
Sorry bout this stupid question, but it gave me error "Could not find the main class: com.sparx.Main."
Do I need any specific software beside Java to run it. Really sorry for being noob. :confused:

Sparx 08-30-2015 06:36 AM

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


 
Quote:

Originally Posted by NDA33 (Post 79373)
Sorry bout this stupid question, but it gave me error "Could not find the main class: com.sparx.Main."
Do I need any specific software beside Java to run it. Really sorry for being noob. :confused:

No, you should be able to just run it.
I tested it on different systems and it ran everywhere.

Did you decompile it?

reborb 08-31-2015 02:47 AM

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


 
Awesome job Sparx!! You added very useful features like search and playlist download... bravo!

NDA33 08-31-2015 12:10 PM

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


 
Quote:

Originally Posted by Sparx (Post 79375)
No, you should be able to just run it.
I tested it on different systems and it ran everywhere.

Did you decompile it?

No, of course not. I'm using windows XP, maybe that's the deal. I just thought it doesn't matter much since one have latest java installed.
Since it should work as it is I'll try it on other PC, thanks for answer.

Sparx 08-31-2015 12:50 PM

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


 
Quote:

Originally Posted by NDA33 (Post 79417)
No, of course not. I'm using windows XP, maybe that's the deal. I just thought it doesn't matter much since one have latest java installed.
Since it should work as it is I'll try it on other PC, thanks for answer.

It should work on XP. At least Java 7 is required.
Maybe this thread helps you: http://stackoverflow.com/questions/5...cking-jar-file

kekevino 09-04-2015 01:36 AM

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


 
Quote:

Originally Posted by 9wm4 (Post 78250)
thank you very mutch. it works ultra fast. :eek:

How did you managed to use the lrz - core.prod - v352.js script in google chrome ?:confused: Can you give me the procedure ? Thks !

kekevino 09-04-2015 02:01 AM

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


 
Quote:

Originally Posted by Sparx (Post 79341)
New Version: Deezer Downloader 2.0




Changelog:
  • Download from Deezer by entering a Album/Playlist/Track URL (First image)
  • Download from Deezer by Searching (Second image)
  • Faster fetching because of less API calls
  • Support for playlists with more than 400 Tracks
  • If a track is not available and the playlist lists an alternative ID, the song with the alternative ID will be downloaded

Download: http://www.share-online.biz/dl/8ZTYDUTNPXZR

Hello, Is it possible to give me another upload site as share -online requires preminum account ...?

waleng 09-04-2015 05:38 PM

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


 
This is marvelous! Working great so far. However, I was wondering if this could also be done to download FLAC files instead of MP3's?

Sparx 09-05-2015 03:05 AM

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


 
Updated Version: 2.0.3

Changelog:
- Small bug fixes
- Support for user uploaded tracks

Download @ share-online.biz
Download @ uploaded.to

Quote:

Originally Posted by waleng (Post 79539)
This is marvelous! Working great so far. However, I was wondering if this could also be done to download FLAC files instead of MP3's?

They don't offer flac files

sunsong 09-05-2015 06:01 AM

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


 
Please help me Sparx, when click on "Download Selected Songs" nothing is happen ! What's to do ?
Thanks

sunsong 09-05-2015 07:31 AM

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


 
Please someone can help me to download from deezer....

Sparx 09-05-2015 12:26 PM

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


 
Quote:

Originally Posted by sunsong (Post 79554)
Please help me Sparx, when click on "Download Selected Songs" nothing is happen ! What's to do ?
Thanks

Did you select some songs?

sunsong 09-05-2015 05:42 PM

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


 
Yes i've select them then click on "Download Selected Songs" and wait a long time but nothing happen...

mmoreira 09-05-2015 08:12 PM

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


 
Quote:

Originally Posted by sunsong (Post 79554)
Please help me Sparx, when click on "Download Selected Songs" nothing is happen ! What's to do ?
Thanks

The same thing is happening with me. :(

Sparx 09-06-2015 03:42 AM

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


 
Quote:

Originally Posted by sunsong (Post 79570)
Yes i've select them then click on "Download Selected Songs" and wait a long time but nothing happen...

Quote:

Originally Posted by mmoreira (Post 79573)
The same thing is happening with me. :(

Does this happen with all URLs / Search terms?

Can you provide me with a sample of what you entered in the URL field?

wthreex 09-06-2015 05:32 AM

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


 
please help... how can i install this program on pc ? i dont got it

sunsong 09-06-2015 06:33 AM

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


 
I don't know really what's happen but it's seems like it's work after few minutes when click on downlaod, i just have change Download Directory from disk C to another one
Thanks Spark


guihkx 09-07-2015 08:34 PM

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


 
Quote:

Originally Posted by wthreex (Post 79605)
please help... how can i install this program on pc ? i dont got it

You need Java installed. You can download it from here: http://www.java.com/en/download/

And @Sparx, thanks for this amazing program! However I'd like to suggest you a couple of tips to improve your program:

1. Add a window right after we click on the "Download Selected Songs" button, updating the user about what the program is doing. It doesn't have to give massive details of course, but at least some information, like: "Fetching album/playlist XXXX. Please wait... 90% Completed".

Because sometimes after we click that button, the program doesn't seem to be doing anything (but I know it is), and I guess most of the people think the program just isn't working. I guess it happens frequently with playlists or albums with lots of music in it.

2. It would be nice to have an actual progress counter and an overall progress counter, showing the number percentage (like "90%"), because sometimes it seems the progress bar isn't moving at all and it also gives the user the impression that the download froze. A progress counter for each song would be awesome too.

Other than that, I think your program is great and I hope you can improve it with these suggestions. Thank you! :D

Cheers.


All times are GMT -6. The time now is 05:57 PM.