Sunday, March 5, 2023

How to run a fully automated YouTube channel using Python

 

How to run a fully automated YouTube channel using Python

Step by Step Installation

Installation 👨🏼‍💻

  1. Clone this Github repository
  2. Run pip install -r requirements.txt
  3. Run python -m playwright install and python -m playwright install deps
  4. Go to Free Cloud Computing Services — AWS Free Tier
  • Sing in to the console
  • Click on Open account menu
  • Click on Security credentials
  • Click on Create access key
  • Once you created the access key and obtained the secret key, open the config.toml file in the project and update the following parameters accordingly.
[AmazonAWSCredential]
aws_access_key_id = 'YOUR AWS ACCESS KEY ID'
aws_secret_access_key = 'YOUR AWS SECRET ACCESS KEY'
  • Fill out the required details, make sure to select script and click on create app.
  • Make a note of the personal use script & secret token and update the the following credentials in the config.toml file.
 [RedditCredential]
client_id='YOUR PERSONAL USE SCRIPT'
client_secret='YOUR SECRET TOKEN'
user_agent='{YOUR REDDIT PROJECT NAME} v4.0 by /u/{YOUR REDDIT USERNAME}'
username='YOUR REDDIT USERNAME'
passkey='YOUR REDDIT PASSWORD'
[Directory]
# absolute path to where this project is cloned or downloaded e.g: Desktop/YoutubeAutomation-Reddit
path=''
# --------------------------------------------
[Background]
# absolute path to the background video e.g: Desktop/minecraft.mp4
path=''
 [App]
# whether the result video should be uploaded to your youtube channel
upload_to_youtube=false
# how often should the app be run (in seconds) e.g: every 6 hours -> 21600 seconds
run_every=21600
python main.py

0 comments:

Post a Comment