░█▀▀█ █▀▀█ ▀▀█▀▀ ▀▀█▀▀ █──█ █▀▀▄ █▀▀ █▀▀█
░█▀▀▄ █──█ ──█── ─░█── █──█ █▀▀▄ █▀▀ █▄▄▀
░█▄▄█ ▀▀▀▀ ──▀── ─░█── ─▀▀▀ ▀▀▀─ ▀▀▀ ▀─▀▀
🄵🅄🄻🄻 🅈🄾🅄🅃🅄🄱🄴 🄲🄷🄰🄽🄽🄴🄻 🄰🅄🅃🄾🄼🄰🅃🄸🄾🄽 🅂🅄🄸🅃🄴
Code to run a fully automated youtube that can scrape content, edit a compilation, and upload to youtube daily.
1. Interactive Auto/Manual mode
2. Makes Compilation (Intro & Outro)
3. Auto Title, Description & Tags
4. Auto TimeStamps & Credits (Username & Caption from Video)
5. Edit description.txt when in manual mode
6. Add Watermark to final Video
git clone https://github.com/sam5epi0l/BotTuber.git
cd BotTuber
# add instagram credentials in config.py
# add YouTube API v3 credentials to googleAPI.json (check instructions)
pip3 install -r requirements.txt
python3 botTuber.py
python3 botTuber.py -i # interactive mode
python3 botTuber.py -a # Full automation
python3 botTuber.py -m # manual mode
python3 botTuber.py -h # help menu
-
Download the Github Repository
-
Install libraries with
pip3 install -r requirements.txt
orpython3 -m pip install -r requirements.txt
. -
Get setup and create a Project with the Youtube API: https://developers.google.com/youtube/v3/quickstart/python Be sure to follow it carefully, as it won't work if you don't do this part right. Download your OATH file and name it as "googleAPI.json" in your project folder.
-
Create an instagram account and follow accounts you want to scrape from
-
Open config.py in a text editor and fill in instagram credentials
- Note that you can edit variables inside botTuber.py in a text editor and things such as MAX_CLIP_LENGTH, Title, Description, Tags, etc..
-
In terminal/cmd, run
instalooter login
andinstaloader --login {YOUR_USERNAME}
. Follow the instructions to login. -
Run
python3 botTuber.py
in your computer terminal (terminal or cmd). You have to sign in to your Youtube Account through the link the script will give you. It's going to ask you: "Please visit this URL to authorize this application:..." so you copy that link, paste it in your browser, and then sign into your Google account. Then paste the authentication code you get back into your terminal. It will then say "Starting Scraping" and sign into your instagram account. -
Type "A" to run automated script or "M" to manually decide what to do at each step
-
Enjoy your fully automated youtube channel! :) Note that for uploading public videos, you have to complete an audit for the Youtube API. See the note in the Google Documentation. Without this, you can only post private videos, but they approve everyone. Have fun!
Thanks goes to these wonderful people who have improved the code and documentation to help this project grow. :
sam-sepiol 🖋 |
nathan Ang 🖋 |
This project follows the all-contributors specification. Contributions of any kind are welcome!