function P(a,b){return new Promise(function(c,d){var e=JSON.parse(a),f=new XMLHttpRequest;f.arguments={P:b};f.onerror=function(){return d(f.statusText)};f.open("GET",e[e.length-4]);f.onload=function(){var g=/client_id:"([^"]+)"/g.exec(f.responseText);"undefined"!==typeof g&&"undefined"!==typeof g[1]?c([g[1],f.arguments.P]):d("unable to get client id")};f.send(null)})}
Steps to reproduce the issue:
fix the code.
Describe the results you received:
I wanted to download a song from soundcloud but i keep getting this error message from chrome.
Describe the results you expected:
work.
Additional required informations:
Link of the site:
Actual Keeptune version: 2.7.1>"
Description
line 22 says:
function P(a,b){return new Promise(function(c,d){var e=JSON.parse(a),f=new XMLHttpRequest;f.arguments={P:b};f.onerror=function(){return d(f.statusText)};f.open("GET",e[e.length-4]);f.onload=function(){var g=/client_id:"([^"]+)"/g.exec(f.responseText);"undefined"!==typeof g&&"undefined"!==typeof g[1]?c([g[1],f.arguments.P]):d("unable to get client id")};f.send(null)})}
Steps to reproduce the issue:
Describe the results you received: I wanted to download a song from soundcloud but i keep getting this error message from chrome.
Describe the results you expected: work.
Additional required informations:
Link of the site: Actual Keeptune version: 2.7.1>"