kkdai / youtube

Download Youtube Video in Golang
MIT License
3.31k stars 429 forks source link

unable to decode nSig: SyntaxError: SyntaxError: (anonymous): Line 18:1 Unexpected token ILLEGAL #256

Closed Pilladian closed 2 years ago

Pilladian commented 2 years ago

I get the following error, when trying to download a video: unable to decode nSig: SyntaxError: SyntaxError: (anonymous): Line 18:1 Unexpected token ILLEGAL (and 4 more

I found the problem being located in decypher.go:78 where the URL parameter "n" is being evaluated. But "n" is not used in youtube urls instead it is "v".

galqiwi commented 2 years ago

have the same issue, +1

Wolfenheimm commented 2 years ago

+1

khodand commented 2 years ago

+1

splace commented 2 years ago

+1

alberfd commented 2 years ago

+1

ImVexed commented 2 years ago

Can confirm https://github.com/kkdai/youtube/pull/257 fixes this for me

alberfd commented 2 years ago

with the fix, the download works but very slow

nikolaigeorgie commented 2 years ago

+1

corny commented 2 years ago

I would like to add an test case. Can you please give an video ID that is affected by this issue?

ImVexed commented 2 years ago

I would like to add an test case. Can you please give an video ID that is affected by this issue?

EUBfw20KKxg