-- Fetch the code of the descrambler function. Example:
-- function ij(a){a=a.split("");a=a.reverse();a=jj(a,12);a=jj(a,32);a=a.reverse();a=jj(a,34);a=a.slice(3);a=jj(a,35);a=jj(a,42);a=a.slice(2);return a.join("")}
localrules=nil
whilenotrulesdo
localline
if#lines>0then
line=table.remove(lines)
else
line=js:readline()
ifnotlinethen
vlc.msg.err("Couldn't process youtube video URL, please check for updates to this script")