2023 upe David Rodriguez Rives


April 3rd - April 9th

This week I prepared the TorneoAutomatico script for it to be able to upload videos automatically to YouTube.
First of all, I created a new webdriver for a new Firefox window that will be in charge of controlling the Obs of our PC. As I commented weeks before (This week) I used a page called http://obs-web.niek.tv and after introducing the details of the host and password, it was able to start and end a recording in obs.

After that was done, I know had to have a method of saving the videos (in this case .mp4) in a format that the computer could read after, so I made the function GuardarVideo in which, by a Powershell command, it will teke the .mp4 file, move it to an exact folder and then change its name to the participant's name.

In the last days i've been strugulling trying to upload automatically that videos to YouTube. The last thing that I tried was to use the official Youtube API and a OAuth2.0 token.
Next week I will link a detailed document explaining the details and limits of this method.