The source project of this merge request has been removed.
-
youtube.lua - js_descramble function doesn't return the descrambler function name due to a regex mismatch.
-
Issue ref: #25988 (closed), #25995 (closed)
-
javascript code string to match: Gma=function(a,b,c,d){var e=[];c=g.r(c);for(var f=c.next();!f.done;f=c.next()){var h=f.value;if(h.url){f=new g.KB(h.url,!0);if(h.s){var l=h.sp,m=wja(decodeURIComponent(h.s));f.set(l,encodeURIComponent(m))}l=g.r(Object.keys(d));for(m=l.next();!m.done;m=l.next())m=m.value,f.set(m,d[m]);h=Lka(h.type,h.quality,h.itag,h.width,h.height);e.push(new cG(h,f))}}return aG(a.B,e,JF(a,b))};
with the applied regex patch the js_descramble function returns "wja" (without quotes) as it should
Edited by Kung Lao