To use When you tux outside
EU.MEC.EU wafu-wafu ( @caisse de bruck )
mekua-meke-suku SAV@dir.eu
This script allows users to automate the process of updating YouTube video details and scheduling them for publishing. It's particularly useful for channels that have a large number of draft videos and need to update them in bulk.
- Authenticate with YouTube API using OAuth2.
- Retrieve all draft videos from a YouTube channel.
- Update video details such as title, description, and schedule them for publishing.
- Add videos to a specific playlist.
-
Python 3.x
-
google-auth
,google-auth-oauthlib
,google-auth-httplib2
,google-api-python-client
andpython-dotenv
libraries. You can install them using pip:pip install google-auth google-auth-oauthlib google-auth-httplib2 google-api-python-client python-dotenv
-
A credentials.json file from the Google Developer Console for OAuth2 authentication.
- Rename .env.example to .env.
- Fill in the required details in the .env file.
- Run the script:
python youtube_mass_updater.py
- If running for the first time, it will open a browser window for OAuth2 authentication. Log in with the Google account associated with the YouTube channel and grant the necessary permissions.
- The script will then retrieve all draft videos, update their details, and schedule them for publishing.
- To enable debug mode, set the DEBUG_MODE variable at the top of the youtube_mass_updater.py script to True. This will print detailed debug messages during the script's execution.
Feel free to fork this repository, make changes, and submit pull requests. Any kind of contribution is welcome!
This project is open-source and available under the MIT License.