Skip to content
A reddit bot that uploads Videos hosted on v.redd.it elsewhere to make sharing and downloading easier
Python
Branch: master
Clone or download
JohannesPertl Update README.md
Add updateRipsaveLinks.py explanation
Latest commit d843b79 Nov 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data Add gitignore for ripsave folder Oct 25, 2019
LICENSE Create LICENSE Aug 25, 2019
README.md Update README.md Nov 20, 2019
bot.py Small fixes, cleanup, updating config Nov 1, 2019
config.yaml Update config.yaml Nov 13, 2019
praw.ini Create example praw.ini Nov 13, 2019
requirements.txt Small fixes, cleanup Nov 1, 2019
updateRipsaveLinks.py Update updateRipsaveLinks.py Oct 30, 2019

README.md

VredditDownloader

A bot for reddit that provides downloadable links for v.redd.it videos

Table of Contents

About The Project

Videos hosted on the social media platform www.reddit.com are nearly impossible to download, especially with sound. To make sharing easier, I decided to write my own bot that provides an easy way to download them.

Since 2018, I run it on my own Raspberry Pi at home.

Currently, the bot account is VredditDownloader.

Usage

If you just want a quick download link, mention "u/VredditDownloader" as a comment under any video hosted on Reddit, or send a private message containing the link. The bot will reply within a few seconds.

You can find more info at the bot's reddit profile.

Getting Started

To host your own video download bot, follow these simple example steps.

Prerequisites

  • Python3
  • A Reddit Account

Installation

  • Clone the repo

    git clone https://github.com/JohannesPertl/vreddit-download-bot.git
    
  • Create an app here

  • Fill in the bot configuration in config.yaml

  • Install the requirements

    pip3 install -r requirements.txt
    

Running the bot

python3 -i bot.py

Start automatically at reboot

To start the bot automatically in the background on Linux, add a cronjob with

crontab -e

and add this line (replace with path to your local repository)

@reboot python3 <path>/bot.py &>> /dev/null

Keep ripsave links active

Videos uploaded on ripsave.com are only active for a short time. To keep them online, I wrote a separate script.

Customize it as you wish, then periodically call it (for example with a cronjob)

# Update the links every minute
* * * * * python3 <path>/updateRipsaveLinks.py

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/SomeFeature)
  3. Commit your Changes (git commit -m 'Add some Feature')
  4. Push to the Branch (git push origin feature/SomeFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

johannes.pertl@edu.fh-joanneum.at

Acknowledgements

Special thanks to the owners of www.ripsave.com and www.lew.la, who very kindly let me use their services!

You can’t perform that action at this time.