The idea of this project is to automate the creation of videos, thumbnails and uploading this material to Youtube.
It is a channel of replays of matches of a game called League of Legends.
The entire process is automated. Once the script is started, it manages, through small steps, to programmatically create content.
The channel can be viewed at this link: League of Legends Replays
- Web scraping with Selenium ;
- HTML and CSS for thumbnail creation ;
- RPA (Robotic Process Automation) with PyAutoGUI ;
- Youtube API ;
- OAuth 2 ;
The project was created with 5 separate modules, each with its own responsibility.
The modules are in the folder videomaker/usecases
:
-
scrap_lol_data (web scrapper)
Enter the website, select the match, collect all the necessary data and download the replay (game executable)
-
data
Responsible for saving and loading the information received by the web scrapper in a json file
-
create_thumbnail
This module creates a custom thumbnail with HTML and CSS using the information obtained by the web scrapper
-
record_video
Use PyAutoGUI and PyDirectInput to control the game and OBS to record the game
-
upload_youtube
Responsible for filling information such as title, description and keywords, uploading the video and thumbnail