DEV Community

Cover image for How I Used Python to Automate a Youtube Channel

How I Used Python to Automate a Youtube Channel

João Maranhão on July 16, 2022

When I started coding, the first thing I did to put my new knowledge into practice was to automate a process that was done every day at my job. I ...
Collapse
 
nicolasdanelon profile image
Nicolás Danelón

I highly recommend you to turn your readme into English. otherwise only people from Brasil, Portugal and other few places will be able to read and understand that.
Nice project bro!
Regards from Argentina :V

Collapse
 
joaomaranhao profile image
João Maranhão

I'm going to do that!
Thanks bro!

Collapse
 
shuttercock profile image
unadvancednewbie

Hey man, I am working on a project base on your idea.
I want to ask how do you technically download replays from leagueofgraph using selenium. (Because I see no option to download replays, all it showing up is a modal tell me to paste script into terminal) No offense but your code is way too clean for me to understand.

Collapse
 
joaomaranhao profile image
João Maranhão

Send me a DM on Twitter!

Collapse
 
nhshanto profile image
N.H

What an amazing idea man.

Collapse
 
vulcanwm profile image
Medea

This is really cool!

Collapse
 
munyoudoum profile image
Munyoudoum Pav

Do you know if these contents have copyrights, and can you monetize them?

Collapse
 
joaomaranhao profile image
João Maranhão • Edited

It doesn't have copyrighted content; I created the video!
And yes, I could monetize them, but to do so, I would have to have at least 1000 subscribers on the channel

Collapse
 
munyoudoum profile image
Munyoudoum Pav

Ah! I just thought even if you created the video because the matches are from league of legends, so there may be concerns about copyrights, but ok, cool then.

Collapse
 
theeduardo profile image
Eduardo

That's amazing! Now I have some cool ideas too, thanks!

Collapse
 
shuttercock profile image
unadvancednewbie

So how do you make your script/youtube bot run forever? am wondering bout that.

Collapse
 
joaomaranhao profile image
João Maranhão

I actually don't..
YouTube API consumes some kind of points, that resets in 24h, I could upload 6 videos per day...
I could do come script to run that bot every 4 hours, but for that I would have to leave my PC turned on 24/7, OR run 6 times and post all the 6 videos with 1 hour of difference.. But I'm not doing it.

Collapse
 
zodman profile image
Andres 🐍 in 🇨🇦

master sensei!

Collapse
 
krishnaagarwal profile image
Krishna Agarwal

Great
Keep going mate
nice work

Collapse
 
lucidmach profile image
Nukala Suraj

dayum bro... this is really really cool

PyAutoGUI is an amazing library something i wish javascript had... too 🤌

Collapse
 
kirillwolkow profile image
Kenny Wolf

Really great project !

I guess the best way to learn anything thoroughly, is to have a project which optimises your day (private or at work).

Keep up the good work, mate.

Collapse
 
andrewbaisden profile image
Andrew Baisden

Wonderful project idea.

Collapse
 
joaomaranhao profile image
João Maranhão

Thank you Andrew!

Collapse
 
elias123tre profile image
Elias • Edited

Cool project! Gotta love PyAutoGui and web scraping! However I prefer playwright over selenium but it's personal preference :)

Collapse
 
mwaura_m profile image
Mwaura Muthoni

Content creation on a next level.

Collapse
 
robole profile image
Rob OLeary

Legal! Parabens! Well done!

Collapse
 
sehgalspandan profile image
Spandan Sehgal

Amazing work Keep it up

Collapse
 
lo0m2 profile image
Lo0m-2

Great work, thanks for sharing!
Do you know where we can get more info on the first project you mentioned ? The one from Fillipe Deschamps ? Are there English instructions for this project ?

Collapse
 
joaomaranhao profile image
João Maranhão

m.youtube.com/playlist?list=PLMdYy...

I'm not sure about English subtitles, maybe auto generated

Collapse
 
othmanhs profile image
Othman El Hassnaoui

can you help me pls i don't know how to use it for my channel
this is my discord 0xdexter#9104