Am trying to download a youtube video using YoutubeExplode and am unsure how to specify where tosave

13 Replies
Angius
Angius17mo ago
$"video.{streamInfo.Container}" this seems to be the save location
sexysexysamthorpe
yeah, I think I've just solved it oh It doesn't appear to have downloaded anything
Angius
Angius17mo ago
That async void could be breaking stuff Should be async Task And it should then be awaited wherever you call it
sexysexysamthorpe
Have ammended to this
sexysexysamthorpe
but still seems to be not working
Angius
Angius17mo ago
How do you call this download method?
sexysexysamthorpe
just on a button click
Angius
Angius17mo ago
Ah, it's some Winforms or something? Uh, then you need dispatchers or some other funny stuff like that to call async code properly Sorry, not my forte
sexysexysamthorpe
No problem
x0rld
x0rld17mo ago
you can use YoutubeExplode.Converter to download without needing to get the manifest you juste need ffmpeg
sexysexysamthorpe
is the accord video one the one I'd want?
Accord
Accord17mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.