Reddit bot that posts a comment with all of the video links in a submission. Currently only supports YouTube.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Reddit bot that posts a comment with all of the links in a submission. See the bot in action at:


Although I have licensed this code with a very permissive license, please don't create a bot on that serves the same function or nearly the same function as /u/VideoLinkBot. When I get tired of operating this bot I will add a text file to that effect to this repository and will also post an announcement retiring the bot to Until then, one link-aggregating bot should be more than enough.

Getting Started

To use this tool, start out by creating a file called "loginCredentials.txt" that contains your bot's reddit username on the first line and password on the second. What can I say, I'm lazy. I'll add support for passing the user/pass via the commandline in the future, but right now this is the easiet way to use the bot.

This is the main workhorse. This script contains the praw.Reddit instance used by the bot and also contains the post_aggregate_links() function, which is the main function of the bot. To mine videos out of all the comments in a reddit submission and post a comment listing them in a table, use like this:

    import as s

where "abc123" is the reddit submission id.

This script is what according to most people makes this tool a proper "bot." Simplemonitor keeps tabs on /r/all/comments looking for newly posted comments containing links to videos. When simplemonitor finds such a comment, it directs simplebot to post_aggregate_links() for the submission that comment was posted in response to.

As long as loginCredentials.txt exists, you should be able to just run:

    $ python