C#
C#

help

Root Question Message

1998 Vauxall Vectra
1998 Vauxall Vectra2/26/2023
Am trying to download a youtube video using YoutubeExplode and am unsure how to specify where tosave

Angius
Angius2/26/2023
$"video.{streamInfo.Container}" this seems to be the save location
1998 Vauxall Vectra
1998 Vauxall Vectra2/26/2023
yeah, I think I've just solved it
1998 Vauxall Vectra
1998 Vauxall Vectra2/26/2023
oh
1998 Vauxall Vectra
1998 Vauxall Vectra2/26/2023
It doesn't appear to have downloaded anything
Angius
Angius2/26/2023
That async void could be breaking stuff
Angius
Angius2/26/2023
Should be async Task
Angius
Angius2/26/2023
And it should then be awaited wherever you call it
1998 Vauxall Vectra
1998 Vauxall Vectra2/26/2023
Have ammended to this
1998 Vauxall Vectra
1998 Vauxall Vectra2/26/2023
but still seems to be not working
Angius
Angius2/26/2023
How do you call this download method?
1998 Vauxall Vectra
1998 Vauxall Vectra2/26/2023
just on a button click
Angius
Angius2/26/2023
Ah, it's some Winforms or something?
Angius
Angius2/26/2023
Uh, then you need dispatchers or some other funny stuff like that to call async code properly
Angius
Angius2/26/2023
Sorry, not my forte
1998 Vauxall Vectra
1998 Vauxall Vectra2/26/2023
No problem
x0rld ⛄ 🎄
x0rld ⛄ 🎄2/26/2023
you can use YoutubeExplode.Converter to download without needing to get the manifest
you juste need ffmpeg
1998 Vauxall Vectra
1998 Vauxall Vectra2/26/2023
1998 Vauxall Vectra
1998 Vauxall Vectra2/26/2023
is the accord video one the one I'd want?
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy