Skip to main content

Smart downloader for Reddit hosted videos

Project description

redvid

Build Status Python version

Smart downloader for Reddit hosted videos

Features

  • Download local hosted videos with audio.
  • Requires only requests library.
  • 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:

from redvid import Downloader

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

Tests

Here are a few sample tests:

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

Changelog

v1.0.6:

  • Can now download urls with v.reddit.it fromat.
  • PATH can be choosed instead of current dir.
  • Max/Min quality can be automatically set to skip quality query.
  • Added ffmpeg encoding to videos with no sound to be uploadable on some platforms.
  • Adjusted printed text and progress bars.

TODO

  • Rename downloaded videos to OP name.
  • ...

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redvid-1.0.7.tar.gz (9.5 kB view hashes)

Uploaded Source

Built Distribution

redvid-1.0.7-py3-none-any.whl (9.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page