Documentation for the Reddit bot
  • The Reddit Bot?
  • Prerequisites
  • Downloading the Bot
  • Getting the packages in place
  • Installing playwright
  • Configure The Bot
  • Running the bot
  • Viewing the video
  • Troubleshooting
  • Final Words
  • Examples
Powered by GitBook
On this page
  • Before we run the bot
  • Running the actual bot

Running the bot

Running the bot.

PreviousConfigure The BotNextViewing the video

Last updated 2 years ago

Before we run the bot

Make sure you have everything set up correctly in . Screwing up will take a while to fix.

Running the actual bot

Now we can run the bot.

Type python main.py (or python3 main.py) in your terminal. (make sure it is the correct folder e.g: RedditVideoBotMaker).

You should see something like this. It indicates that you have done everything correctly.

Now every time you wish to produce an automated video like this one, all you have to do is run python3 main.py (or python main.py) from the terminal (like this time, without any installation procedures), and the bot will pick the top posts from your favorite subreddit and produce a high-quality video ready for YouTube Shorts and TikTok. You can also dive into the code and make an infinite loop. Do note, though, that if you have any errors, we will not be able to assist you.

Make sure you won't delete the background video (the parkour/rocket league gameplay). It is one hour long. Deleting it will result in downloading it again the next time you run the code. The bot essentially picks two random points in the background video, creates a 60-second long clip, and pastes it in as the background of the final video.

Once your video is processed, you should be able to view it! To view it, check out .

this page
configuring.md
rtb