From 55f001b1c91755191b43beb95344e2578edfb3d5 Mon Sep 17 00:00:00 2001 From: mredouane Date: Fri, 22 Mar 2019 16:35:48 +0100 Subject: [PATCH] Fix issue of the Decipher --- YoutubeExtractor/YoutubeExtractor/Decipherer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YoutubeExtractor/YoutubeExtractor/Decipherer.cs b/YoutubeExtractor/YoutubeExtractor/Decipherer.cs index e5ac261..6d1836b 100644 --- a/YoutubeExtractor/YoutubeExtractor/Decipherer.cs +++ b/YoutubeExtractor/YoutubeExtractor/Decipherer.cs @@ -9,7 +9,7 @@ internal static class Decipherer { public static string DecipherWithVersion(string cipher, string cipherVersion) { - string jsUrl = string.Format("http://s.ytimg.com/yts/jsbin/player-{0}.js", cipherVersion); + string jsUrl = string.Format("http://s.ytimg.com/yts/jsbin/player_{0}.js", cipherVersion); string js = HttpHelper.DownloadString(jsUrl); //Find "C" in this: var A = B.sig||C (B.s) @@ -140,4 +140,4 @@ private static string SwapFirstChar(string cipher, int index) return builder.ToString(); } } -} \ No newline at end of file +}