This is a Python script that allows you to upload videos to various social media platforms (Instagram, TikTok, VK, and YouTube) using a graphical user interface (GUI) built with tkinter
. The script automates the process of logging in, selecting a video, and uploading it with a specified title and timing.
- Multi-Platform Support: Upload videos to Instagram, TikTok, VK, and YouTube.
- User-Friendly Interface: Simple and intuitive GUI for easy navigation.
- Automated Uploading: Automates the process of logging in and uploading videos.
- Customizable Timing: Set a delay between uploads.
- Error Handling: Displays error messages if something goes wrong during the upload process.
To run this script, you need the following Python packages installed:
tkinter
(usually comes pre-installed with Python)Pillow
(for image handling)selenium
(for browser automation)webdriver_manager
(for managing ChromeDriver)
You can install the required packages using pip
:
pip install pillow selenium webdriver_manager
-
Run the Script: Execute the script using Python.
python main.py
-
Select a Platform: The main window will display buttons for each social media platform. Click on the platform you want to upload to.
-
Enter Details:
- Title/Description: Enter the title or description for your video.
- Timing: Specify the delay (in seconds) before the next upload.
- Select Video: Choose the video file you want to upload.
-
Login and Upload: The script will open a browser window, log in to the selected platform, and upload the video. You may need to manually log in if the platform requires additional authentication (e.g., 2FA).
-
Monitor Uploads: The script will handle the upload process and display any errors if they occur.
pages/
: The main script containing the GUI and upload logic.icons/
: Directory containing icons for each social media platform (e.g.,instagram_icon.png
,tiktok_icon.png
, etc.).
- Browser Automation: The script uses Selenium to automate the browser. Ensure that you have the latest version of Chrome installed.
- Manual Login: Some platforms may require manual login (e.g., entering a 2FA code). The script will wait for you to complete the login process.
- Error Handling: If an error occurs during the upload process, a new window will pop up displaying the error message.
Here’s a quick example of how to use the script:
- Run the script.
- Click on the "Instagram" button.
- Enter the title, timing, and select the video file.
- The script will open a browser, log in to Instagram, and upload the video.
Feel free to contribute to this project by submitting issues or pull requests. Any feedback or suggestions are welcome!
This project is licensed under the MIT License. See the LICENSE file for details.
Disclaimer: This script is for educational purposes only. Use it responsibly and ensure you comply with the terms of service of the respective social media platforms.