distubejs / ytdl-core

YouTube video downloader in javascript.
MIT License
213 stars 43 forks source link

Please report this issue with the "1690327295451-base.js" file on https://github.com/distubejs/ytdl-core/issues. #5

Closed abood1tameme1 closed 1 year ago

CombustibleToast commented 1 year ago

This may be related to an issue I've been having the past few days: https://github.com/CombustibleToast/CAROLINE/issues/7

To save you a click: Here is the original problem stack trace:

MUSIC - [WARN] [Loudspeaker] Musical Modron encountered an error:
evalmachine.<anonymous>:1
var gma=function(a){var b=a.split(""),c=[584148539,852629499,160865294,-832838130,443904797,function(d,e){d=(d%e.length+e.length)%e.length;e.splice(-d).reverse().forEach(function(f){e.unshift(f)})},function(){for(var d=64,e=[];++d-e.length-32;)switch(d){case 58:d=96;continue;case 91:d=44;break;case 65:d=47;continue;case 46:d=153;case 123:d-=58;default:e.push(String.fromCharCode(d))}return e},function(d,e){if(0!=d.length){e=(e%d.length+d.length)%d.length;var f=d[0];d[0]=d[e];d[e]=f}},834970450,586863718,1043122890,1730868255,-1308819130,b,function(d,e,f,h,l,m,n,p){return d(m,n,p)},441145885,-138848934,-1115336415,-629752663,-98834160,-587746330,633777827,function(d,e,f){var h=e.length;f.forEach(function(l,m,n){this.push(n[m]=e[(e.indexOf(l)-e.indexOf(this[m])+m+h--)%e.length])},d.split(""))},-1136517269,b,-593358596,-1729966709,-1078692293,1040098749,/(\/),[,\))",]/,-306315740,function(d,e){0!=e.length&&(d=(d%e.length+e.length)%e.length,e.splice(0,1,e.splice(d,1,e[0])[0]))},-691630757,82271803,-1730885044,389296159,1640441954,384382157,2080317701,815092452,function(d,e){for(d=(d%e.length+e.length)%e.length;d--;)e.unshift(e.pop())},1405142858,-572805641,function(){for(var d=64,e=[];++d-e.length-32;){switch(d){case 91:d=44;continue;case 123:d=65;break;case 65:d-=18;continue;case 58:d=96;continue;case 46:d=95}e.push(String.fromCharCode(d))}return e},160865294,-790041790,"asVwkw",821650703,-145484106,function(d,e){d.splice(d.length,0,e)},function(d,e,f,h,l,m,n){return d(l,m,n)},2031538495,-1122359769,80900601,1455907897,-71833010,null,-107579853,76609647,-343626514,null,1939393029,-367293178,385653825,467726324,function(d,e){for(d=(d%e.length+e.length)%e.length;d--;)e.unshift(e.pop())},1730868255,function(){for(var d=64,e=[];++d-e.length-32;)switch(d){case 58:d=96;continue;case 91:d=44;break;case 65:d=47;continue;case 46:d=153;case 123:d-=58;default:e.push(String.fromCharCode(d))}return e},function(d){for(var e=d.length;e;)d.push(d.splice(--e,1)[0])},/[){;;]()([;//])/,function(d,e,f,h,l,m,n,p){return e(f,h,l,m,n,p)},-1861579017,-2011495182,null,function(){for(var d=64,e=[];++d-e.length-32;)switch(d){case 46:d=95;default:e.push(String.fromCharCode(d));case 94:case 95:case 96:break;case 123:d-=76;case 92:case 93:continue;case 58:d=44;case 91:}return e},1540907818,1203193699,-1191141332,1209012257,function(d,e,f,h,l){return e(f,h,l)},-1117281684,function(){for(var d=64,e=[];++d-e.length-32;){switch(d){case 58:d-=14;case 91:case 92:case 93:continue;case 123:d=47;case 94:case 95:case 96:continue;case 46:d=95}e.push(String.fromCharCode(d))}return e},-1644839394,1480138790,"'\\({",679687117,-441148504,352208284,1772767326,1107249532,function(d,e){0!=e.length&&(d=(d%e.length+e.length)%e.length,e.splice(0,1,e.splice(d,1,e[0])[0]))},function(d){d.reverse()},1484503443,b,-2105521682,2067673519,function(d,e){e=(e%d.length+d.length)%d.length;d.splice(e,1)},933742556,function(d,e,f,h,l,m){return e(h,l,m)}];c[56]=c;c[60]=c;c[73]=c;try{try{c[61]<=new Date("1969-12-31T19:59:53.000-04:00")/1E3?(0,c[79])((0,c[22])(c[46],(0,c[74])(),c[24]),c[96],c[73],c[27]):(0,c[79])((0,c[7])(c[60],c[71]),c[65],c[21],c[60]),(6===c[4]||((0,c[54])(c[9],c[17]),null))&&(0,c[14])(c[55],c[36]),0<c[19]&&(-8>=c[64]||((((0,c[14])(c[21],c[17]),c[28])(c[38],c[47]),c[20])(c[36],c[10]),0))&&((0,c[15])(c[79]),c[3])((0,c[20])(c[17],c[2]),c[88],c[86],c[17]),c[35]!==Math.pow(7,2)%150+-46&&(-2!=c[58]?((0,c[15])(c[83]),(0,c[95])(((0,c[70])(c[28],c[81]),c[68])(c[15],c[87]),c[68],c[10-Math.pow(6,5)+7781],c[3]),c[70])(c[11],c[81]):((((0,c[53])(c[29],(0,c[Math.pow(7,4)+1998-4306])(),c[62]),c[70])(c[34],c[2]),c[53])(c[29],(0,c[8])(),c[81]),c[95])((0,c[53])(c[29],(0,c[Math.pow(8,3)%477-3])(),c[51]),c[53],c[29],(0,c[Math.pow(8,3)+6-517])(),c[81])),-6!==c[new Date("1969-12-31T14:45:48.000-09:15")/1E3]&&(-10==c[66]||((0,c[26])(c[19],c[-7373+92*Math.pow(3,4)]),0))&&(0,c[53])(c[29],(0,c[1])(),c[new Date("1969-12-31T17:45:51.000-06:15")/1E3]),0>=c[-34677--161*Math.pow(6,3)]?((((0,c[78])(c[62],c[94]),c[70])(c[56],c[51]),c[7])(c[2]),c[44])(c[73],c[2]):((0,c[7])(c[19])>>>(0,c[55])(c[90],c[84]),(0,c[0])(c[116+Math.pow(1,2)-41],c[37]),c[64])(c[Math.pow(1,5)-20+51],c[new Date("1970-01-01T05:03:16.000+05:00")/1E3%441-Math.pow(1,5)+-177]),-4<=c[61]?(0,c[21])(c[48],c[40]):(0,c[46])(c[70],(0,c[6])(),c[48]),(c[71]<Math.pow(4,1)- -1216+-1214||(((0,c[4])((0,c[64])(c[34],c[18]),c[64],c[47],c[97]),(((0,c[30])(c[58],c[49]),c[30])(c[89],c[15]),c[4])(c[28],c[83]),c[20])(c[17],c[79]),0))&&((0,c[52])(c[15],c[67]),c[69])(c[52],(0,c[62])(c[11],c[90]),(0,c[60])(c[0],c[49]),(0,c[47])(c[99-Math.pow(8,1)+-63]),(0,c[60])(c[3],c[79]),c[49],c[56]),8>c[10]&&(((0,c[25])((0,c[23])(c[79]),c[35],(0,c[35])((0,c[47])(c[15]),c[new Date("1970-01-01T01:30:40.000+01:30")/1E3],c[17],c[89]),c[80],c[Math.pow(7,2)%55+44],c[56]),c[new Date("1969-12-31T19:31:20.000-04:30")/1E3])(c[30],c[92]),1)||((((0,c[80])(c[74],c[78]),c[21])(c[31],c[74]),c[95])(c[93]),((0,c[18])(c[26]),c[90])(c[74],c[48])),-2!==c[86]&&(4<c[71]?((((0,c[18])(c[13]),c[6])((((0,c[90])(c[13],c[25]),c[65])(c[40],(0,c[44])(),c[93]),c[10])(c[49],c[30]),c[90],c[30],c[36270-Math.pow(2,5)-36209]),(0,c[new Date("1969-12-31T17:30:18.000-06:30")/1E3])(c[74])+(0,c[21])(c[54],c[74]),c[82])(c[98],c[74]),((0,c[-3067- -116*Math.pow(3,3)])(c[40],(0,c[12])(),c[63]),c[90])(c[30],c[57]),(0,c[11])(c[67],c[30])):(0,c[88])((((0,c[16])((0,c[65])(c[40],(0,c[81])(),c[63]),c[6],(0,c[21])(c[Math.pow(7,1)- -25905-25815],c[93]),c[21],c[91-Math.pow(2,2)%35],c[13]),(0,c[79])(c[2],c[81]),c[49])(c[77],c[41]),c[47])(c[98],c[71]),c[89],((0,c[57])(c[41],c[new Date("1970-01-01T01:45:28.000+01:45")/1E3]),c[55])((0,c[79])(c[95],c[60]),c[47],(0,c[Math.pow(2,1)-11977- -12032])(c[30],c[12]),c[81],c[22]),c[17],c[30])),1<c[50]&&(0,c[74])((0,c[74])((0,c[79])(c[53],c[98]),c[49],c[50],c[94]),c[79],c[29],c[94])}catch(d){(0,c[74])((0,c[57])(c[94],c[18]),c[57],c[98],c[100]),(0,c[78])(c[70],c[41]),(0,c[74])((0,c[121-Math.pow(8,2)%456])(c[94],c[96]),c[57],c[30],c[61]),((0,c[86])(c[Math.pow(3,2)%190- -89]),c[62])(c[81]),(0,c[3])(c[32],(0,c[57])(c[60],c[36]),(0,c[57])(c[81],c[76]),(0,c[47])(c[30],c[37]),c[7],(0,c[11])(),c[41])}}catch(d){return"enhanced_except_6pgBlef-_w8_"+a}return b.join("")};gma(ncode);                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         SyntaxError: Invalid left-hand side expression in postfix operation                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             at new Script (node:vm:100:7)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               at exports.decipherFormats (redacted/node_modules/ytdl-core/lib/sig.js:171:43)                                                                                                                                                                                                                                                                                                                                                                                                                                                                at process.processTicksAndRejections (node:internal/process/task_queues:95:5)                                                                                                                                                                                                                                                                                                                                                                                                                                                                               at async Promise.all (index 0)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              at async exports.getInfo (redacted/node_modules/ytdl-core/lib/info.js:334:17)                                                                                                                                                                                                                                                                                                                                                                                                                                                             
MUSIC - [INFO] [Loudspeaker] Musical Modron: buffering -> idle                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
Song errored                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
Song errored out, downloading song from 944ms, 1s, 0m, 0h (944)    

Then I found this:

SyntaxError: Invalid left-hand side expression in postfix operation
    at new Script (node:vm:100:7)
    at exports.decipherFormats (redacted/node_modules/ytdl-core/lib/sig.js:171:43)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 0)
    at async exports.getInfo (redacted/node_modules/ytdl-core/lib/info.js:334:17)

Now it's as this issue describes. This is printed to the console without me logging any errors:

WARNING: Could not parse n transform function.
Please report this issue with the "1690330374550-base.js" file on https://github.com/distubejs/ytdl-core/issues.

It seems like songs are sometimes still able to be downloaded, but I've not tested much.

skick1234 commented 1 year ago

Duplicated #4