A bot for reddit that provides downloadable links for v.redd.it videos
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.
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.
To host your own video download bot, follow these simple example steps.
- Python3
- A Reddit Account
-
Clone the repo
git clone https://github.com/JohannesPertl/vreddit-download-bot.git
-
Create an app here
- Paste the credentials into the praw.ini file
-
Fill in the bot configuration in config.yaml
-
Install the requirements
pip3 install -r requirements.txt
python3 -i bot.py
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
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
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.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/SomeFeature
) - Commit your Changes (
git commit -m 'Add some Feature'
) - Push to the Branch (
git push origin feature/SomeFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE for more information.
johannes.pertl@edu.fh-joanneum.at
Special thanks to the owners of www.ripsave.com and www.lew.la, who very kindly let me use their services!