YoutubeExplode: YoutubeExplode.Exceptions.ParseException: 'Could not find the entry function for signature deciphering.'
Getting ‘Could not find the entry function for signature deciphering.’ exception while downloading some video(s). Example: https://www.youtube.com/watch?v=EEbZZkBkBZo StackTrace: at YoutubeExplode.YoutubeClient.<GetVideoPlayerSourceAsync>d__37.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at YoutubeExplode.YoutubeClient.<GetVideoMediaStreamInfosAsync>d__40.MoveNext() — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at YoutubeDemo.Program.<MainAsync>d__9.MoveNext() in C:\Users\ais\source\repos\YoutubeDemo\YoutubeDemo\Program.cs:line 92 — End of stack trace from previous location where exception was thrown — at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.GetResult() at YoutubeDemo.Program.Main(String[] args)
I tested this in a console application with version 4.3.1. This issue is occurring from last two days.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 19 (5 by maintainers)
My regex beta version
var entryPoint = Regex.Match(sourceRaw, @"(\w+)&&(\w+)\.set\(\w+,(\w+)\(\1\)\);return\s+\2").Groups[3].Value;
I will be able to release a new version on Monday.
The following regex code is working for me, and no slowdowns:
var entryPoint = Regex.Match(sourceRaw, @"yt\.akamaized\.net/\)\s*\|\|\s*.*?\s*c\s*&&\s*d\.set\([^,]+\s*,\s*([a-zA-Z0-9$]+)\(").Groups[1].Value;
…although I’m absolutely freaking terrible at regex, so probably could be cleaned up.
Update to 4.7.9
Hi @Tyrrrz !
I have found the same issue right now for a lot of videos. Example: https://www.youtube.com/watch?v=DTBmQDggJ60
Stop using old version
how to add this to this php file https://github.com/You2php/you2php/blob/master/YouTubeDownloader.php#L9