redvid
vid 2.0.5
requests
dan FFmpeg
. redvid
membutuhkan Python 3.
Gunakan pip
untuk menginstal paket dari PyPI:
pip install redvid
Atau, instal paket versi terbaru dari GitHub:
pip install git+https://github.com/elmoiv/redvid.git
Menggunakan redvid untuk mengunduh video:
> redvid -u " https://v.redd.it/c8oic7ppc2751 " -mxq
from redvid import Downloader
reddit = Downloader ( max_q = True )
reddit . url = 'https://v.redd.it/c8oic7ppc2751'
reddit . download ()
atau
__import__ ( 'redvid' ). Downloader ( url = 'https://v.redd.it/c8oic7ppc2751' , max_q = True ). download ()
https://m.wikihow.com/Install-FFmpeg-on-Windows
( Anda mungkin perlu me-restart komputer Anda setelah menerapkan langkah-langkah ini )
sudo apt install ffmpeg
instal Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Kemudian:
$ brew install ffmpeg
Berikut adalah beberapa contoh tes:
> 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
Silakan berkontribusi! Jika Anda ingin memperbaiki bug, menyarankan perbaikan, atau menambahkan fitur baru ke proyek, cukup buka masalah atau kirimkan saya permintaan penarikan.
* Redvid versi Android bukan sumber terbuka.