? YouTube Auto Upload Tool
Automated YouTube video uploader with multi-language support and subtitle integration. Automatically uploads videos with metadata, schedules optimal publish times, and includes subtitle files.
? Table of Contents
- Features
- Requirements
- Setup Instructions
- YouTube API Setup
✨ Features
| Feature | Description |
|---|---|
| Auto Upload | Batch upload MP4 videos to YouTube |
| Multi-language | Support for English, Romanian, Russian |
| Subtitle Upload | Automatic SRT subtitle file integration |
| Smart Scheduling | Optimal publish times per region |
| Metadata Translation | Auto-translate titles/descriptions |
| File Management | Organized file structure after upload |
? Requirements
Python Version
– Python 3.8+ (Recommended: Python 3.9 or higher)
google-auth google-auth-oauthlib google-auth-httplib2 google-api-python-client argostranslate>=1.9.4
? Setup Instructions
1. Clone Repository
git clone <repository-url>
cd autoupload_Youtube
2. Create Virtual Environment
python -m venv .venv
3. Activate Virtual Environment
Windows:
.venv\Scripts\activate
Linux/Mac:
source .venv/bin/activate
4. Install Dependencies
pip install -r requirements.txt
? YouTube API Setup
? Usage
? File Structure
autoupload_Youtube/ ├── ? uploaded_videos/ # Successfully uploaded files ├── ? utilites/ │ └── argotranslate.py # Translation utilities ├── ? auto_upload_script.py # Main upload automation ├── ? upload_youtube.py # YouTube API integration ├── ? client_secrets.json # OAuth credentials (create this) ├── ? token.pickle # Auth token (auto-generated) ├── ? requirements.txt # Python dependencies ├── ? start.sh # Startup script └── ? README.md # This file
? Supported Languages
| Language | Code | Optimal Publish Time |
|---|---|---|
| English | en | 8:00 PM EST |
| Romanian | ro | 8:00 PM EET |
| Russian | ru | 9:00 PM MSK |
? Troubleshooting
Upload Process
“`mermaid
graph TD
A[Scan video_output/] –> B[Find MP4 files]
B –> C[Match JSON metadata]
C –> D[Find SRT subtitles]
D –> E[Upload to YouTube]
E –> F[Move to uploaded_videos/]
“`
? Contributing
1. Fork the repository
2. Create feature branch
3. Commit changes
4. Push to branch
5. Create Pull Request
? License
This project is licensed under the MIT License.
? Support
For issues and questions:
1. Check [Troubleshooting](#-troubleshooting) section
2. Review [YouTube API Documentation](https://developers.google.com/youtube/v3)
3. Create GitHub issue with error details
See project at: https://github.com/spspider/autoupload_Youtube