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

13 Replies
Angius
Angius•2y ago
$"video.{streamInfo.Container}" this seems to be the save location
sexysexysamthorpe
sexysexysamthorpeOP•2y ago
yeah, I think I've just solved it oh It doesn't appear to have downloaded anything
Angius
Angius•2y ago
That async void could be breaking stuff Should be async Task And it should then be awaited wherever you call it
sexysexysamthorpe
sexysexysamthorpeOP•2y ago
Have ammended to this
sexysexysamthorpe
sexysexysamthorpeOP•2y ago
but still seems to be not working
Angius
Angius•2y ago
How do you call this download method?
sexysexysamthorpe
sexysexysamthorpeOP•2y ago
just on a button click
Angius
Angius•2y 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
sexysexysamthorpeOP•2y ago
No problem
x0rld 👻 🎃
you can use YoutubeExplode.Converter to download without needing to get the manifest you juste need ffmpeg
sexysexysamthorpe
sexysexysamthorpeOP•2y ago
sexysexysamthorpe
sexysexysamthorpeOP•2y ago
is the accord video one the one I'd want?
Accord
Accord•2y 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