Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shadowsafin/youtube-automation-bot
This is a python script that could randomly take a file from a Google drive folder and upload it to YouTube with the file name as title. After uploading it will move the file to another folder to avoid re-uploading
https://github.com/shadowsafin/youtube-automation-bot
google-drive google-drive-api google-drive-automation youtube youtube-api youtube-automation
Last synced: 16 days ago
JSON representation
This is a python script that could randomly take a file from a Google drive folder and upload it to YouTube with the file name as title. After uploading it will move the file to another folder to avoid re-uploading
- Host: GitHub
- URL: https://github.com/shadowsafin/youtube-automation-bot
- Owner: ShadowSafin
- License: other
- Created: 2024-09-23T05:20:41.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-10-17T07:07:10.000Z (29 days ago)
- Last Synced: 2024-10-19T13:56:48.415Z (26 days ago)
- Topics: google-drive, google-drive-api, google-drive-automation, youtube, youtube-api, youtube-automation
- Language: HTML
- Homepage:
- Size: 44.8 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# YouTube-Automation-Bot
This is a python script that could randomly take a file from a Google Drive folder and upload it to YouTube with the file name as title and description. After upload it will move the file to another folder to avoid reuploading.# How to run Run
Add your own google drive API client secret and YouTube Data V3 API Client secret in the directory. Replace the already existing client secrets.Make sure to Add - "Google drive API OAuth2.0 file as "credentials.json" and YouTube data v3 API client secret as "client_secret.json" in the main folder".
After adding the client secrets open package.bat file and wait for the process to finish. Now go to "Dist" folder and tap on YouTubeAutomation. The program will open as it is intended.
# Authentication (Method 1)
Add Google drive API OAuth2.0 file as "credentials.json" and YouTube data v3 API client secret as "client_secret.json" in the main folder.
You must rename the file according to the upper instruction. Renaming it will not chance anything in the file.
# Getting GDrive API Oauth Client Secret
Go to your google cloud console and enable Google Drive API, then follow the official google documentation - https://developers.google.com/identity/gsi/web/guides/get-google-api-clientidMake Sure add "http://localhost:8080" as authorised JavaScript Origins and "http://localhost:8080/oauth2callback" + "http://localhost:8080/" as authorised redirect urls.
# Getting YouTube Data V3 API client secret
Go to your google cloud console and enable YouTuve Data v3 API, then follow the official google documentation - https://developers.google.com/youtube/v3/guides/auth/installed-apps#uwpMake Sure add "http://localhost:8081" as authorised JavaScript Origins and "http://localhost:8081/oauth2callback" + "http://localhost:8081/" as authorised redirect urls.