Answer
Ove
rf
low
Sign In With Discord
C#
help
Join
Root Question Message
1998 Vauxall Vectra
2/26/2023
Am trying to download a youtube video using YoutubeExplode and am unsure how to specify where tosave
Angius
2/26/2023
$"video.{streamInfo.Container}"
this seems to be the save location
1998 Vauxall Vectra
2/26/2023
yeah, I think I've just solved it
1998 Vauxall Vectra
2/26/2023
oh
1998 Vauxall Vectra
2/26/2023
It doesn't appear to have downloaded anything
Angius
2/26/2023
That
async void
could be breaking stuff
Angius
2/26/2023
Should be
async Task
Angius
2/26/2023
And it should then be awaited wherever you call it
1998 Vauxall Vectra
2/26/2023
Have ammended to this
1998 Vauxall Vectra
2/26/2023
but still seems to be not working
Angius
2/26/2023
How do you call this
download
method?
1998 Vauxall Vectra
2/26/2023
just on a button click
Angius
2/26/2023
Ah, it's some Winforms or something?
Angius
2/26/2023
Uh, then you need dispatchers or some other funny stuff like that to call async code properly
Angius
2/26/2023
Sorry, not my forte
1998 Vauxall Vectra
2/26/2023
No problem
x0rld ⛄ 🎄
2/26/2023
you can use YoutubeExplode.Converter to download without needing to get the manifest
you juste need ffmpeg
1998 Vauxall Vectra
2/26/2023
1998 Vauxall Vectra
2/26/2023
is the accord video one the one I'd want?
Contact
Frequently Asked Questions
Join The Discord
Bugs & Feature Requests
Terms & Privacy