Topic: Can't download files from youtube with hypervideo
Hello
That's the error I get
$ hypervideo Hello
ERROR: [generic] 'Hello' is not a valid URL. Set --default-search "ytsearch" (or run hypervideo "ytsearch:Hello" ) to search YouTube
[fifi@house .ssh]$
[fifi@house .ssh]$ hypervideo https://www.youtube.com/watch?v=PrGTSAtMZBY
[youtube] PrGTSAtMZBY: Downloading webpage
[youtube] PrGTSAtMZBY: Downloading android player API JSON
[youtube] PrGTSAtMZBY: Downloading player 59acb1f3
WARNING: [youtube] nsig extraction failed: You may experience throttling for some formats
n = RQWgir6Qlm97eA ; player = https://www.youtube.com/s/player/59acb1f3/player_ias.vflset/en_US/base.js
PrGTSAtMZBY: Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/hypervideo_dl/extractor/youtube.py", line 2517, in _decrypt_nsig
self._player_cache[player_id] = self._extract_n_function(video_id, player_url)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/extractor/youtube.py", line 2545, in _extract_n_function
func_code = jsi.extract_function_code(funcname)
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 498, in extract_function_code
code, _ = self._separate_at_paren(func_m.group('code'), '}') # refine the match
File "/usr/lib/python3.8/site-packages/hypervideo_dl/jsinterp.py", line 117, in _separate_at_paren
raise ExtractorError(f'No terminating paren {delim} in {expr}')
hypervideo_dl.utils.ExtractorError: No terminating paren } in {var b=a.split(""),c=[1298660008,function(d,e,f,h,l,m){return e(h,l,m)},
968655468,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},
56115230,-578061081,-516346513,b,-1739695292,-1031455761,/[,\]],[\]];}/,-396015744,",50];c[56]=c;",-203720994,1138796109,1654420436,-1421444221,-467318042,-310250358,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]))},
b,null,-1099019182,-1572322237,-1435598247,function(d,e){if(0!=e.length){d=(d%e.length+e.length)%e.length;var f=e[0];e[0]=e[d];e[d]=f}},
-978033375,494408344,-1144332564,-1880630186,697054586,1776460546,1618907691,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},
120905664,"svBEU",424941719,-631714765,function(d){d.reverse()},
-2088968882,function(d,e){for(d=(d%e.length+e.length)%e.length;d--;)e.unshift(e.pop())},
1852690801,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},
1787312933,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},
function(d,e,f,h,l){return e(f,h,l)},
-1578101071,-1003622296,b,870022376,-836873004,1710071377,function(d,e){d=(d%e.length+e.length)%e.length;e.splice(-d).reverse().forEach(function(f){e.unshift(f)})},
1563738254,-1853912785,569385479,1710071377,null,1931720400,1261779540,-1739695292,2069725356,function(d){for(var e=d.length;e;)d.push(d.splice(--e,1)[0])},
-816655279,-10811273,799151128,479445185,-1552354452,213047167,function(d,e,f){var h=f.length;d.forEach(function(l,m,n){this.push(n[m]=f[(f.indexOf(l)-f.indexOf(this[m])+m+h--)%f.length])},e.split(""))},
/[,\]],[\]];}/,-2088968882,991120217,498142390,function(d,e){e=(e%d.length+d.length)%d.length;d.splice(e,1)},
-1165334167,-1757579952,1500543736,1311362373,479445185,null,-1742192571,1287865266,-107597567,2124687716,1665408567,-1904482550,199307569];c[21]=c;c[57]=c;c[80]=c;try{try{(8==c[43]||((((((0,c[40])(c[22],c[48]),c[52])(c[61],c[21]),c[2])(c[48]),c[2])(c[35]),c[68])(c[55],c[49]),0))&&(0,c[85])((0,c[70])(c[16],c[149-Math.pow(4,4)+186])%(0,c[70])(c[3],c[86]),c[15],((0,c[65])(c[3],c[31],(0,c[38])()),c[21])(c[50],c[17]),c[61],c[3])}catch(d){(0,c[70])(c[16],c[30])}finally{-10!==c[Math.pow(3,1)-36- -51]&&
(-9!==c[43]||((((0,c[36])(c[4],c[16]),c[48])(c[1],c[3]),c[21])(c[47],c[17]),0))&&(((0,c[58])(c[16]),c[48])(c[0],c[53]),c[42])(c[75],c[9])}try{(0<c[0]||(((((0,c[42])(c[11],c[22]),c[71])(c[9],c[37],(0,c[44])()),(0,c[21])(c[28],c[50]),c[54])(c[86],c[59]),c[11])(((0,c[6])(c[24],c[75]),(0,c[34])(c[57],c[2]),(0,c[7])(c[48],c[2]),c[44])(c[3]),c[86],c[6],c[57]),0))&&(((0,c[60])((0,c[80])(c[18],c[10]),c[36],c[85],c[70],(0,c[72])())|(((0,c[53])(c[50],c[84]),c[65])(c[77],c[25]),c[36])(c[10],c[70],(0,c[63])()),
(0,c[31])(c[85],c[74]),c[67])(c[85]),(0,c[86])(c[64],c[25]),c[36])(c[57],c[70],(0,c[61])()),0<c[23]&&(-2==c[41]||((0,c[65])(c[23+365%Math.pow(1,1)],c[25]),0))&&(0,c[48])(c[54],c[46]),(-1!=c[67]||((((0,c[86])(c[29%Math.pow(3,5)-10],c[32],(0,c[64])()),((((0,c[86])(c[47],c[32],(0,c[23])()),c[81])(c[10],c[52]),c[81])(c[60],c[61]),c[86])(c[60],c[Math.pow(1,3)%205+new Date("1969-12-31T18:00:31.000-06:00")/1E3],(0,c[23])()),c[86])(c[60],c[32],(0,c[23])()),c[22])((0,c[22])((0,c[86])(c[19],c[32],(0,c[217*
Math.pow(5,5)+-678091])()),c[81],c[46],c[50]),c[15],c[28],c[19]),0))&&((((0,c[48])(c[44],c[72-Math.pow(4,4)- -259]),c[42])(c[75],c[0]),c[22])((0,c[66])((0,c[27])(c[51],c[47]),c[48],(0,c[27])(c[77],c[10]),c[43],c[73]),c[28],c[31],c[23]),c[47])(c[41-Math.pow(4,3)+48],c[51])+((0,c[34])(c[15]),c[67])(c[4],c[22]),1>=c[75]&&(10!=c[12]||((0,c[93+Math.pow(4,5)+-1050])(c[47],c[63]),0))&&(0,c[53])(c[35])}catch(d){(((0,c[84])(c[63],c[50],(0,c[59])()),(0,c[34])(c[74],c[22]),c[84])(c[35],c[50],(0,c[48])()),c[1])(c[35],
c[44])}finally{-1===c[43]&&((0,c[60])((0,c[34])(c[51],c[63]),c[84],c[35],c[50],(0,c[48])()),1)||((0,c[40])(c[79],c[22]),c[40])(c[13],c[63]),0>c[24]&&(-3<=c[82]&&((0,c[40])(c[241121-186*Math.pow(6,4)],c[35]),1)||(0,c[34])(c[12],c[-12264-Math.pow(8,2)- -12391])),-4==c[11]?(0,c[1])(c[35],c[39]):(0,c[53])(c[22]),0<=c[56]&&(1<=c[65]?((0,c[84])(c[-1909- -24*Math.pow(3,4)],c[50],(0,c[18])()),c[new Date("1969-12-31T23:00:01.000-01:00")/1E3])(c[30+Math.pow(8,2)+-59],c[3]):(0,c[-2120+Math.pow(1,1)- -2179])((0,c[34])(c[8],
c[72]),c[55],c[29],c[72]))}try{(-10>=c[47]||((0,c[23])(c[60],c[61]),0))&&(0,c[29])(c[113%Math.pow(2,1)+49],c[11])}catch(d){(0,c[44])(c[22],c[25])}finally{8<c[85]?((0,c[49])((0,c[126*Math.pow(1,5)-82])(c[34],c[61]),c[29],c[new Date("1970-01-01T08:15:57.000+08:15")/1E3],c[24]),c[29])(c[67],c[11]):(0,c[5])((0,c[23])(c[72],c[61]),c[29],(0,c[56])(c[4],c[27]),c[8],c[69])}}catch(d){return"enhanced_except_55cBmOj-_w8_"+a}return b.join("")}; please report this issue on https://issues.hyperbola.info/ , filling out the appropriate issue template. Confirm you are on the latest version using pacman -Su
(caused by ExtractorError('No terminating paren } in {var b=a.split(""),c=[1298660008,function(d,e,f,h,l,m){return e(h,l,m)},\n968655468,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},\n56115230,-578061081,-516346513,b,-1739695292,-1031455761,/[,\\]],[\\]];}/,-396015744,",50];c[56]=c;",-203720994,1138796109,1654420436,-1421444221,-467318042,-310250358,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]))},\nb,null,-1099019182,-1572322237,-1435598247,function(d,e){if(0!=e.length){d=(d%e.length+e.length)%e.length;var f=e[0];e[0]=e[d];e[d]=f}},\n-978033375,494408344,-1144332564,-1880630186,697054586,1776460546,1618907691,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},\n120905664,"svBEU",424941719,-631714765,function(d){d.reverse()},\n-2088968882,function(d,e){for(d=(d%e.length+e.length)%e.length;d--;)e.unshift(e.pop())},\n1852690801,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},\n1787312933,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},\nfunction(d,e,f,h,l){return e(f,h,l)},\n-1578101071,-1003622296,b,870022376,-836873004,1710071377,function(d,e){d=(d%e.length+e.length)%e.length;e.splice(-d).reverse().forEach(function(f){e.unshift(f)})},\n1563738254,-1853912785,569385479,1710071377,null,1931720400,1261779540,-1739695292,2069725356,function(d){for(var e=d.length;e;)d.push(d.splice(--e,1)[0])},\n-816655279,-10811273,799151128,479445185,-1552354452,213047167,function(d,e,f){var h=f.length;d.forEach(function(l,m,n){this.push(n[m]=f[(f.indexOf(l)-f.indexOf(this[m])+m+h--)%f.length])},e.split(""))},\n/[,\\]],[\\]];}/,-2088968882,991120217,498142390,function(d,e){e=(e%d.length+d.length)%d.length;d.splice(e,1)},\n-1165334167,-1757579952,1500543736,1311362373,479445185,null,-1742192571,1287865266,-107597567,2124687716,1665408567,-1904482550,199307569];c[21]=c;c[57]=c;c[80]=c;try{try{(8==c[43]||((((((0,c[40])(c[22],c[48]),c[52])(c[61],c[21]),c[2])(c[48]),c[2])(c[35]),c[68])(c[55],c[49]),0))&&(0,c[85])((0,c[70])(c[16],c[149-Math.pow(4,4)+186])%(0,c[70])(c[3],c[86]),c[15],((0,c[65])(c[3],c[31],(0,c[38])()),c[21])(c[50],c[17]),c[61],c[3])}catch(d){(0,c[70])(c[16],c[30])}finally{-10!==c[Math.pow(3,1)-36- -51]&&\n(-9!==c[43]||((((0,c[36])(c[4],c[16]),c[48])(c[1],c[3]),c[21])(c[47],c[17]),0))&&(((0,c[58])(c[16]),c[48])(c[0],c[53]),c[42])(c[75],c[9])}try{(0<c[0]||(((((0,c[42])(c[11],c[22]),c[71])(c[9],c[37],(0,c[44])()),(0,c[21])(c[28],c[50]),c[54])(c[86],c[59]),c[11])(((0,c[6])(c[24],c[75]),(0,c[34])(c[57],c[2]),(0,c[7])(c[48],c[2]),c[44])(c[3]),c[86],c[6],c[57]),0))&&(((0,c[60])((0,c[80])(c[18],c[10]),c[36],c[85],c[70],(0,c[72])())|(((0,c[53])(c[50],c[84]),c[65])(c[77],c[25]),c[36])(c[10],c[70],(0,c[63])()),\n(0,c[31])(c[85],c[74]),c[67])(c[85]),(0,c[86])(c[64],c[25]),c[36])(c[57],c[70],(0,c[61])()),0<c[23]&&(-2==c[41]||((0,c[65])(c[23+365%Math.pow(1,1)],c[25]),0))&&(0,c[48])(c[54],c[46]),(-1!=c[67]||((((0,c[86])(c[29%Math.pow(3,5)-10],c[32],(0,c[64])()),((((0,c[86])(c[47],c[32],(0,c[23])()),c[81])(c[10],c[52]),c[81])(c[60],c[61]),c[86])(c[60],c[Math.pow(1,3)%205+new Date("1969-12-31T18:00:31.000-06:00")/1E3],(0,c[23])()),c[86])(c[60],c[32],(0,c[23])()),c[22])((0,c[22])((0,c[86])(c[19],c[32],(0,c[217*\nMath.pow(5,5)+-678091])()),c[81],c[46],c[50]),c[15],c[28],c[19]),0))&&((((0,c[48])(c[44],c[72-Math.pow(4,4)- -259]),c[42])(c[75],c[0]),c[22])((0,c[66])((0,c[27])(c[51],c[47]),c[48],(0,c[27])(c[77],c[10]),c[43],c[73]),c[28],c[31],c[23]),c[47])(c[41-Math.pow(4,3)+48],c[51])+((0,c[34])(c[15]),c[67])(c[4],c[22]),1>=c[75]&&(10!=c[12]||((0,c[93+Math.pow(4,5)+-1050])(c[47],c[63]),0))&&(0,c[53])(c[35])}catch(d){(((0,c[84])(c[63],c[50],(0,c[59])()),(0,c[34])(c[74],c[22]),c[84])(c[35],c[50],(0,c[48])()),c[1])(c[35],\nc[44])}finally{-1===c[43]&&((0,c[60])((0,c[34])(c[51],c[63]),c[84],c[35],c[50],(0,c[48])()),1)||((0,c[40])(c[79],c[22]),c[40])(c[13],c[63]),0>c[24]&&(-3<=c[82]&&((0,c[40])(c[241121-186*Math.pow(6,4)],c[35]),1)||(0,c[34])(c[12],c[-12264-Math.pow(8,2)- -12391])),-4==c[11]?(0,c[1])(c[35],c[39]):(0,c[53])(c[22]),0<=c[56]&&(1<=c[65]?((0,c[84])(c[-1909- -24*Math.pow(3,4)],c[50],(0,c[18])()),c[new Date("1969-12-31T23:00:01.000-01:00")/1E3])(c[30+Math.pow(8,2)+-59],c[3]):(0,c[-2120+Math.pow(1,1)- -2179])((0,c[34])(c[8],\nc[72]),c[55],c[29],c[72]))}try{(-10>=c[47]||((0,c[23])(c[60],c[61]),0))&&(0,c[29])(c[113%Math.pow(2,1)+49],c[11])}catch(d){(0,c[44])(c[22],c[25])}finally{8<c[85]?((0,c[49])((0,c[126*Math.pow(1,5)-82])(c[34],c[61]),c[29],c[new Date("1970-01-01T08:15:57.000+08:15")/1E3],c[24]),c[29])(c[67],c[11]):(0,c[5])((0,c[23])(c[72],c[61]),c[29],(0,c[56])(c[4],c[27]),c[8],c[69])}}catch(d){return"enhanced_except_55cBmOj-_w8_"+a}return b.join("")}; please report this issue on https://issues.hyperbola.info/ , filling out the appropriate issue template. Confirm you are on the latest version using pacman -Su')); please report this issue on https://issues.hyperbola.info/ , filling out the appropriate issue template. Confirm you are on the latest version using pacman -Su
ERROR: [youtube] PrGTSAtMZBY: Unable to extract uploader id; please report this issue on https://issues.hyperbola.info/ , filling out the appropriate issue template. Confirm you are on the latest version using pacman -Su
tnx
All the best.