Gib hier deine Überschrift ein
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
Process
- Choose post from Redit
Actions
- Grab top posts for 24 hours
- Open a web browser
- Send a HTTP request to the Reddit server
- Parse server answers in HTML format or receive the clear information as JSON file (data is listed as key-value pair) through API
- Use the PRAW library to ask requests as a method
- Set up an API application (register on Reddit)
- Create voice over
- Use pyttsx3 or gtts or OpenAI
- Generate audio file
- Capture screenshots of posts
- Use selenium
- Open web browser
- Identify the parts of the screen to take pictures of (youse developer view to identify the specific parts)
- Save screenshots as .png-files
- Edit content together
- Use moviepy (library)
- Create image clip object
- Create audio clip object out of voice over file
- Repeat for all comments
- Add clips together
- Add background videos
- Create a video data base
- Randomly choose a video
- Import the video as a video clip object
- composite background and main clips
- Edit Video
- Specify the output file (location)
- Render the video
- Upload to platform
- Use YouTube API or use selenium
- Navigate to youtube.com
- Sign in
- Click upload button
- Select the file
- Click the title box
- Send the title as keys
- Find the „Made for kids“ option
- Select appropriate input
- Click description input
- Input the descriptions
- Click the next button
- Set visibility to „Public“
- Click „Publish“
- Use YouTube API or use selenium
Gib hier deine Überschrift ein
from openai import OpenAI client = OpenAI() response = client.chat.completions.create( model = " gpt-3.5-turbo", messages = [ { "role":"system", "content": "You are a YouTube short narration generator." }, { "role": user", "content": f"Create a YouTube short narration based on the following source material: \n\n {source_material}" } ] ) print(response.choices[0].message.content)
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
Sources
Tutorials
- ++ YouTube | Making Automatic YouTube videos with Python
- + YouTube | I Automated YouTube Shorts with Python
- + YouTube | Automating More YouTube Shorts with Python
- YouTube | Python bot that makes movies and posts them daily to YouTube.
- YouTube | How To Build A Reddit Bot Using Python – Full Beginner Tutorial
Libraries
- youtube-uploader-selenium · PyPI
- youtube-uploader-selenium 0.1.0 on PyPI – Libraries.io
- youtube-uploader-selenium-aug 1.1 on PyPI – Libraries.io
Code Examples