
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
# clone the repo
$ git clone https://github.com/reddit-dl/reddit-dl.git
# change the working directory to sherlock
$ cd reddit-dl/
# install the requirements
$ python3 -m pip install -r requirements.txt
# then call
$ python3 reddit_dl.py --help
# install
$ pip install -U reddit-dl
# then call
$ reddit-dl --help
# download to `cats` subreddit media
$ reddit-dl https://www.reddit.com/r/cats/
# update to downloaded `cats` subreddit media
$ reddit-dl --update https://www.reddit.com/r/cats/`
# download to `cats` subreddit media with `-r`
$ reddit-dl -r cats
# update with folder name to downloaded `cats` subreddit media
$ reddit-dl --update r-cats
# Not download gifs
$ reddit-dl -u <username> --no-gifs
usage: reddit_dl.py [-h] [--version] [-u [USER ...]] [-r [REDDIT ...]] [-V] [-P] [-G] [-N] [--update] [--user-agent USER_AGENT]
[--request-timeout N] [--max-connection-attempts N]
[target ...]
Download pictures, gifs, videos along with their captions and other metadata from Reddit.
Miscellaneous Options:
-h, --help Show this help message and exit.
--version Show version number and exit.
What to Download:
Specify a list of targets. For each of these, reddit-dl creates a folder and downloads all media content. The following targets are
supported:
target Full url of users, subreddits or their local folder names.Exp. `https://reddit.com/r/UkrainianConflict/`
-u [USER ...], --user [USER ...]
Usernames to download.
-r [REDDIT ...], --reddit [REDDIT ...]
Subreddit names to download.
What to Download of each Post:
-V, --no-videos Do not download videos.
-P, --no-pictures Do not download pictures.
-G, --no-gifs Do not download pictures.
-N, --no-nsfw Do not download NSFW content.
Which Posts to Download:
--update For each target, stop when encountering the first already-downloaded content.
How to Download:
--user-agent USER_AGENT
User Agent to use for HTTP requests.
--request-timeout N Seconds to wait before timing out a connection request. Defaults to 300.
--max-connection-attempts N
Maximum number of connection attempts until a request is aborted.
https://github.com/reddit-dl/reddit-dl
FAQs
Limitless Reddit Downloader. No API no LIMIT.
We found that reddit-dl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.