YoutubeConverter.DownloadVideoAsync Error
See original GitHub issue string id = SongID.Text;
Console.WriteLine($"Working on video [{id}]...");
// Get video info
var video = await YoutubeClient.GetVideoAsync(id);
var cleanTitle = $"{video.Title}";
Console.WriteLine($"{video.Title}");
string OutputDirectoryPath = System.IO.Path.Combine(@"C:\Users\nazik\Documents");
// Download video as mp3
Console.WriteLine("Downloading...");
Directory.CreateDirectory(OutputDirectoryPath);
var outputFilePath = Path.Combine(OutputDirectoryPath, $"{cleanTitle}.mp3");
await YoutubeConverter.DownloadVideoAsync(id, outputFilePath);
// Edit mp3 metadata
Console.WriteLine("Writing metadata...");
var idMatch = Regex.Match(video.Title, @"^(?<artist>.*?)-(?<title>.*?)$");
var artist = idMatch.Groups["artist"].Value.Trim();
var title = idMatch.Groups["title"].Value.Trim();
using (var meta = TagLib.File.Create(outputFilePath))
{
meta.Tag.Performers = new[] { artist };
meta.Tag.Title = title;
meta.Save();
}
MessageBox.Show($"Downloaded and converted video [{id}] to [{outputFilePath}]");
When I start this code
YoutubeExplode.Exceptions.UnrecognizedStructureException: ‘Could not find signature decipherer function name. Please report this issue on GitHub.’
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Is there a way to use youtube-dl in async
Your question assumes that youtube-dl requires ffmpeg to work. It's not entirely true, it can download individual streams by its own means, ...
Read more >How to use AsyncPublisher to convert @Published ... - YouTube
Previous video : https://youtu.be/wSmTbtOwgbE If you enjoyed this FREE ... How to use AsyncPublisher to convert @Published to Async / Await ...
Read more >Make your own YouTube Downloader
Downloading videos from YouTube is against their policy. The purpose of the article is just to demonstrate how you can download content from ......
Read more >Developing a Progressive Fetch YouTube Downloader
Lately, I've been itching to develop an Electron App for downloading YouTube videos in performant way by using streams rather than keeping ...
Read more >YouTube Video Downloader using C# Console Application
The provided code demonstrates a simple console application that performs a multiple video download process from Youtube.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Closing in favor of #252. Also, in the future don’t report YoutubeExplode.Converter issues here, although this is not one of them.
You are welcome to submit a pull request