About 1 week ago or so, a problem arose where I get no audio track from the clip.
The bit that is suppose to be doing the download looks like this.
YoutubeExtractor.VideoInfo video;
IEnumerable videoInfos = DownloadUrlResolver.GetDownloadUrls(link, false);
video = videoInfos.First(info => info.VideoType == VideoType.Mp4 && info.Resolution == 144);
if (video.RequiresDecryption)
{
DownloadUrlResolver.DecryptDownloadUrl(video);
}
var videoDownloader = new VideoDownloader(video, Path.Combine(videoPath));
Thread thread = new Thread(() => { videoDownloader.Execute(); }) { IsBackground = true };
thread.Start();
On a side note, I patched decipherer.cs with the
string functNamePattern = @"(\w+)\s=\sfunction(\s(\w+)\s)\s{\s\2\s=\s\2.split(\""\"")\s;(.+)return\s\2.join(\""\"")\s}\s;";
fix that someone posted earlier if that even matters. Thanks in advance for any insight you may have.
About 1 week ago or so, a problem arose where I get no audio track from the clip.
The bit that is suppose to be doing the download looks like this.
YoutubeExtractor.VideoInfo video; IEnumerable videoInfos = DownloadUrlResolver.GetDownloadUrls(link, false);
video = videoInfos.First(info => info.VideoType == VideoType.Mp4 && info.Resolution == 144);
if (video.RequiresDecryption)
{
DownloadUrlResolver.DecryptDownloadUrl(video);
}
var videoDownloader = new VideoDownloader(video, Path.Combine(videoPath));
Thread thread = new Thread(() => { videoDownloader.Execute(); }) { IsBackground = true };
thread.Start();
On a side note, I patched decipherer.cs with the string functNamePattern = @"(\w+)\s=\sfunction(\s(\w+)\s)\s{\s\2\s=\s\2.split(\""\"")\s;(.+)return\s\2.join(\""\"")\s}\s;"; fix that someone posted earlier if that even matters. Thanks in advance for any insight you may have.