Skip to main content

Creates and Uploads Videos to Youtube

Project description

Automated YouTube content creation and upload system built in Python. The script generates videos, quizzes, memes, and trend-based content using APIs and AI-generated text. It retrieves data from Stack Overflow, converts text into video using MoviePy, and creates images with PIL. Selenium is used to automate YouTube uploads and community posts, including quizzes and image posts. The system is designed for scalable, hands-free content production with randomized topics and formats.

Installation:

pip install free_youtube_uploader

1 - Install required Python libraries: pip install selenium moviepy pillow stackapi gtts pytrends 2 - (Optional) Install FFmpeg (required by MoviePy): https://ffmpeg.org/download.html, Add to PATH 3 - Import: from free_youtube_uploader.free_youtube_uploader import free_youtube_uploader

create_info_video(driver, video_path, img_folder, clip1_path, img, clip2_path, font_path, out_folder, out_video_path) Generates a full video from a Stack Overflow question and uploads it.

bot.create_info_video(driver, "temp/video/", "temp/images/", "clips/background1.mp4", None, "clips/background2.mp4", "fonts/arial.ttf", "output/", "output/final.mp4" )

create_youtube_quiz(driver) Generates and posts a quiz automatically.

create_youtube_meme(driver, img_path) Creates and uploads a meme.

create_youtube_trend(driver) Generates and uploads a trending video.

create_rot_short(driver, rot_video_path) Creates a Reddit-style short and uploads it.

upload_video(driver, title, path) Uploads a video manually.

bot.upload_video(driver, "My Video Title", "output/video.mp4")

upload_img(driver, path) Uploads an image post.

upload_quiz(driver, question, a1, a2, a3, a4, n) Uploads a custom quiz.

bot.upload_quiz(driver, "What is Python?", "A programming language", "A snake", "A car brand", "A game", 1 )

create_video_trend(script, audio_path, video_clip_path, trend_video_path) Creates a video from a script.

bot.create_video_trend( "This is a trending topic explanation", "audio.mp3", "clips/bg.mp4", "output/trend.mp4" )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

free_youtube_uploader-1.0.8.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

free_youtube_uploader-1.0.8-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file free_youtube_uploader-1.0.8.tar.gz.

File metadata

  • Download URL: free_youtube_uploader-1.0.8.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for free_youtube_uploader-1.0.8.tar.gz
Algorithm Hash digest
SHA256 56a4386b7536389e8bfd62d586088a0830d9becd0fe7934d4bad06c0de1e42f5
MD5 c45f65f104d7b0c26bfbcde469618146
BLAKE2b-256 90aefefef7fab50b4910c74e3561a7394400ff49f0ef3a02b4e45a83e20daa4e

See more details on using hashes here.

File details

Details for the file free_youtube_uploader-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for free_youtube_uploader-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fd1bbca49eb8afdc3ac89cd03c2d644342bea897a10986f50ee2d7b07fa74cfd
MD5 ecd6253e2100376c3c5cff55df562d18
BLAKE2b-256 c8e9d10707982b031cb633bef214a809c0aed0991bb7843d2e14fa494ef82fc5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page