Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SNFernandes24/AutomaticVideoUploader
https://github.com/SNFernandes24/AutomaticVideoUploader
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/SNFernandes24/AutomaticVideoUploader
- Owner: SNFernandes24
- Created: 2022-01-30T15:19:52.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-01T19:43:17.000Z (almost 3 years ago)
- Last Synced: 2024-06-28T14:31:50.437Z (5 months ago)
- Language: Python
- Size: 29.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AutomaticVideoUploader
### Fetches videos from your personal subreddit and uploads to youtube(**Twitch Clips Only**)
pip install -r requirements.txt
# How to use
Create a folder named 'Secret' inside 'AutomaticVideoUploader'
## APIYou will need API for Youtube, Reddit, Gmail
### Youtube
Copy the 'client_secret.json' file inside the 'Secret' folder and rename it to 'YoutubeSecrets.json'
Get the reddit client_id, client_secret, user_agent, username, password, subreddit in one file and name it RedditSecret.py insert this file into the 'Secret' folder.
It should look like:
CLIENT_ID = 'client_id here'
CLIENT_SECRET = 'client_secret here'
USER_AGENT = 'user_agent here'
USERNAME = 'username here'
PASSWORD = 'password here'
SUBREDDIT = 'subreddit here'### GMAIL
Similar to Youtube you will need to copy the 'client_secret.json' in 'Secret' Folder and rename it to 'EmailSecret.json' you may be able to just use the same one as youtube if you enable GMAIL API on it
## Other files in 'Secret' Folder
### emailInfo.py
```
SENDER = 'email registered for API, you will need to tick 'Allow email to be sent' when it opens in browser the first time'
TO_EMAIL = 'Target for email'
```
### videoOptions.py
```
DESCRIPTION = "Default description here"
CATEGORY = "Youtube category default(20 is for gaming)"
KEYWORDS = "Tags to upload with(game)"
PRIVACYSTATUS = "Status uploaded with(private, public, unlisted)"
```
## ChromedriverDownload chromedriver.exe for the version your chrome browser runs on here: https://chromedriver.chromium.org/downloads
Copy it into 'AutomaticVideoUploader' directory
## redditFetch.pyBy default the code fetches top three post from 'day' and makes sure they are Twitch clips.
It is possible to change from 'day' to other criteria and the amount of posts to fetch, but it will not check until it gets the required amount of clips.
Make sure this is directed at a subreddit with only Twitch clips uploaded to get the best results.