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

13 Replies
Angius
Angius2y 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
Angius2y 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
Angius2y ago
How do you call this download method?
sexysexysamthorpe
just on a button click
Angius
Angius2y 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
x0rld2y 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
Accord2y 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.
Want results from more Discord servers?
Add your server