Skip to main content


Redvid icon
Redvid

Smart Downloader for Reddit Hosted Videos


Now available for Android*

Features

  • Download local hosted videos with audio.
  • Requires only requests and FFmpeg.
  • Ability to decide quality.
  • Bypass bot detection.

Installation

redvid requires Python 3.

Use pip to install the package from PyPI:

pip install redvid

Or, install the latest version of the package from GitHub:

pip install git+https://github.com/elmoiv/redvid.git

Usage

Using redvid to download a video:

> redvid -u "https://v.redd.it/c8oic7ppc2751" -mxq
  • via scripts:
from redvid import Downloader

reddit = Downloader(max_q=True)
reddit.url = 'https://v.redd.it/c8oic7ppc2751'
reddit.download()

or

__import__('redvid').Downloader(url='https://v.redd.it/c8oic7ppc2751', max_q=True).download()

Installing FFmpeg

Windows:

https://m.wikihow.com/Install-FFmpeg-on-Windows

(You may need to restart your pc after applying these steps)

Linux:

sudo apt install ffmpeg

Mac OS:

  • install Homebrew:

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

  • Then:

    $ brew install ffmpeg

Tests

Here are a few sample tests:

Console Commands

> redvid --help

usage: redvid [-h] [-u URL] [-p PATH] [-o] [-mxq] [-mnq] [-mxd MAXDURATION]
              [-mxs MAXSIZE] [-am] [-ad] [-px PROXIES] [-v] [-c]

Argument parser for redvid module

required arguments:
  -u URL, --url URL     Post URL for Reddit hosted video

optional arguments:
  -p PATH, --path PATH  Custom path for downloaded videos
  -o, --overwrite       Overwrite existing videos and ignore exception
  -mxq, --maxquality    Auto select maximum quality
  -mnq, --minquality    Auto select minimum quality
  -fn FILENAME, --filename FILENAME
                        Set custom filename for downloaded video
  -mxd MAXDURATION, --maxduration MAXDURATION
                        Ignore videos that exceed this duration (in seconds)
  -mxs MAXSIZE, --maxsize MAXSIZE
                        Ignore videos that exceed this size (in bytes)
  -am, --automax        Automatically download video with maximum size (Helps
                        for old reddit videos with unknown qualities)
  -ad, --autodir        Automatically create path if correctly typed and does
                        not exist
  -px PROXIES, --proxies PROXIES
                        Download videos through proxies for blocked regions
  -v, --version         Show redvid version
  -nc, --noclean        Don't clean temp folder after download is done

Stargazers over time

Stargazers over time

Contributing

Please contribute! If you want to fix a bug, suggest improvements, or add new features to the project, just open an issue or send me a pull request.

*Android version of Redvid is not open-source.

Metadata

Release files for redvid 2.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for redvid 2.0.6
File Size Uploaded Provenance Actions
redvid-2.0.6.tar.gz 26.4 kB Without provenance Details for redvid-2.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for redvid 2.0.6
File Interpreter ABI Platform Actions
redvid-2.0.6-py3-none-any.whl Python 3 none any Details for redvid-2.0.6-py3-none-any.whl

Total release size: 50.7 kB

Release files / redvid-2.0.6.tar.gz

Download URL redvid-2.0.6.tar.gz
Size 26.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8da5107bf9c7d6acf4a569c913c4d6d542565f9c1bdab306964e41d080cf99ba
BLAKE2b-256 checksum
How to use checksums
01a46f3409c6c5ce2140e4865064ecaa0b4e1b78d8b735a739537cbf355758fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.1

Release files / redvid-2.0.6-py3-none-any.whl

Download URL redvid-2.0.6-py3-none-any.whl
Size 24.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba5a32db1a0df73362d0d3211d8e368bf4b4ced8c43ddda9f39c7b9f846ae30e
BLAKE2b-256 checksum
How to use checksums
014bdbd8a611a4f7f78380338b4444cf8afe26b0f4bf8c566021dc999f07b947
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.1

Security for redvid 2.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page