Skip to content

Instantly share code, notes, and snippets.

View aleandroid's full-sized avatar

Aleandroid aleandroid

View GitHub Profile
@aleandroid
aleandroid / deez.revived.user.js
Last active August 6, 2024 06:05
Deezer Downloader Monkey Script
//---CONFIGURATION---//
const showMp3_128 = true; // Show MP3 @128k download (default: true)
const showMp3_320 = true; // Show MP3 @320k download (default: true)
const showFLAC = true; // Show FLAC download (default: true)
const showAzLyrics = true; // Show azLyrics checkbox (default: true)
const showListDownloader = true; // Show bulk download option (default: true)
const coverSize = 600; // JPEG cover size in px (default: 600)
const coverQuality = 80; // JPEG cover quality from 0 to 100 (default: 80)
//---DEBUG---//
!function(r){var t=0,n="";function e(r){return h(o(r))}function o(r){return i(g(u(r),8*r.length))}function a(r,t){var n=u(r);n.length>16&&(n=g(n,8*r.length));for(var e=Array(16),o=Array(16),a=0;a<16;a++)e[a]=909522486^n[a],o[a]=1549556828^n[a];var h=g(e.concat(u(t)),512+8*t.length);return i(g(o.concat(h),640))}function h(r){for(var n,e=t?"0123456789ABCDEF":"0123456789abcdef",o="",a=0;a<r.length;a++)n=r.charCodeAt(a),o+=e.charAt(n>>>4&15)+e.charAt(15&n);return o}function c(r){for(var t="",e=r.length,o=0;o<e;o+=3)for(var a=r.charCodeAt(o)<<16|(o+1<e?r.charCodeAt(o+1)<<8:0)|(o+2<e?r.charCodeAt(o+2):0),h=0;h<4;h++)8*o+6*h>8*r.length?t+=n:t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(a>>>6*(3-h)&63);return t}function f(r,t){var n,e,o,a,h,c=t.length,f=Array(Math.ceil(r.length/2));for(n=0;n<f.length;n++)f[n]=r.charCodeAt(2*n)<<8|r.charCodeAt(2*n+1);var u=Math.ceil(8*r.length/(Math.log(t.length)/Math.log(2))),i=Array(u);for(e=0;e<u;e++){for(h=Array(),a=0,n=0;n<f.length;n++)a=(a<<16)+f[n