Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Whether I can call youtube-dl directly from PowerShell script? #24298
Comments
|
youtube-dl can be called from anywhere as any other executable. |
Checklist
Question
youtube-dl.exe is quite an excellent tool for using. However, I do want to automation some work, so I wrote a powershell script to make life easier.
The thing is, currently from my PowerShell script, I need to launch
cmd.exeto run the commands for youtube-dl, that ends with I can never do error handling.Like yesterday, there is some random issue with one video subtitle's download, but I cannot get the error and some of my PowerShell script is not working normally.
So, I 'd like to ask below things:
Thanks and look forward to the reply.
Allen