Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 2.45 KB

README.md

File metadata and controls

74 lines (54 loc) · 2.45 KB

reddit-media-scraper

Eashan's RMS (Reddit Media Scraper)

Get videos and pictures from your favorite subreddits!
Report Bug · Request Feature

Table of Contents
  1. About This Project
  2. Getting Started
  3. Contact

About This Project

I find myself saving a lot of images and gifs from reddit–be it memes, or pictures for the moodboard. So I figured that if I could scrape for media, I could then later go through the files and save/tag whatever was relevant to my writing or ideas. This has made my workflow a hundred times faster. Feel free to tweak this code to your own needs! I hope you find it useful. :)

I'm probably going to refactor sections of this in the future to make it neater and more elegant than it currently is. I'm thinking a GUI would be cool, perhaps an implementation of granular controls based on subreddit filters, etc. Any changes to the codebase will be reflected in this document. The project doesn't grab media from posts that contain galleries, I might try to add support for those in the future.

Built With

  • os
  • sys
  • json
  • urllib
  • getpass
  • requests
  • shutil
  • datetime
  • BeautifulSoup
  • subprocess
  • Getting Started

    Please ensure you have all the appropriate libaries installed before running. At present, you can run main.py in the terminal and it will prompt you for a subreddit name. Type in the name (for example 'aww') and press enter. The terminal will say "Phase complete!" once all the processes are done.

    Contact

    Eashan R. Kotha - @eashankotha

    Project Link: https://github.com/ekotha/reddit-media-scraper

    (back to top)

    This document's structure and format was based on @othneildrew's Best-README-Template! Shoutout to ffmpeg as well!