Skip to main content

A command-line tool for downloading videos from various platforms

Project description

🐊 crec

Your Swiss Army knife for downloading media from the internet. Just paste a URL and watch the magic happen!

Features

  • Universal Downloader: Download from multiple platforms:
  • Flexible Output Options:
    • Audio-only downloads
    • Quality selection
    • Video compression
    • Custom output directories
    • Custom filename patterns
    • Thumbnail downloads
    • Playlist support
  • Advanced Features:
    • Custom FFmpeg arguments
    • Progress tracking
    • Automatic file organization
    • Clipboard integration
  • Utility Commands:
    • Open download directory
    • Clean up downloaded files

Installation

pip install crec

Usage

It's stupidly simple. Just paste a URL and add any options you want:

# Basic usage (just paste a URL)
crec https://youtube.com/watch?v=dQw4w9WgXcQ

# Want audio only? Add -a
crec https://youtube.com/watch?v=dQw4w9WgXcQ -a

# Want 720p? Add -q 720
crec https://youtube.com/watch?v=dQw4w9WgXcQ -q 720

# Want to compress it? Add -co 5
crec https://youtube.com/watch?v=dQw4w9WgXcQ -co 5

All Options

# Video/Audio Options
-a, --audio-only      Download audio only
-na, --no-audio       Download without audio
-nvi, --no-video      Download only audio (same as -a)
-vi, --video          Download video (default behavior)

# Quality & Processing
-q, --quality         Video quality (e.g., 720, 1080)
-ql --quality-list    List video quailities
-co, --compress       Compression level (0-9)
-ff, --ffmpeg-args    Custom FFmpeg arguments

# Output Options
-o, --output-dir      Output directory
-t, --thumbnail       Download thumbnail
-f, --filename        Custom filename pattern
-p, --playlist        Download as playlist

# Utility Commands
-d, --delete          Delete all contents in ~/crec
-op, --open           Open ~/crec in file explorer
-v, --version         Show version information
-nc --no-copy         Will not copy the file to the clipboard

Examples

# Download a video (it's that simple!)
crec https://youtube.com/watch?v=dQw4w9WgXcQ

# Get just the audio
crec https://youtube.com/watch?v=dQw4w9WgXcQ -a

# Get 720p quality
crec https://youtube.com/watch?v=dQw4w9WgXcQ -q 720

# Compress it a bit
crec https://youtube.com/watch?v=dQw4w9WgXcQ -co 5

# Save to a specific folder
crec https://youtube.com/watch?v=dQw4w9WgXcQ -o ~/Downloads

# Custom filename
crec https://youtube.com/watch?v=dQw4w9WgXcQ -f "{title}_{quality}"

# Download without audio
crec https://youtube.com/watch?v=dQw4w9WgXcQ -na

# Download and delete original after compression
crec https://youtube.com/watch?v=dQw4w9WgXcQ -co 5 -no

# Don't copy path to clipboard
crec https://youtube.com/watch?v=dQw4w9WgXcQ -nc

# Open download directory
crec -op

# Clean up downloaded files
crec -d

Why crec?

  • Versatility: Download from virtually any platform
  • Simplicity: One command to rule them all
  • Power: Advanced features when you need them
  • Reliability: Built on yt-dlp
  • Flexibility: Customize every aspect of your downloads

License

MIT

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

crec-1.0.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crec-1.0.1-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file crec-1.0.1.tar.gz.

File metadata

  • Download URL: crec-1.0.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for crec-1.0.1.tar.gz
Algorithm Hash digest
SHA256 861be8e7b608ab3e5e78b6e67123a71129158792ce24161bd78debd5b14f6e5b
MD5 a756d6179b1ee50af8af0fe442c63cc8
BLAKE2b-256 57ee29a98b842e6269acc2fbc9fad5ba88de42bbb34759f4a5025350de4e4b6c

See more details on using hashes here.

File details

Details for the file crec-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: crec-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for crec-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aacbb3084a1c87605bc8345e3912ad572bebdf3b63a0ad4e8da134031b1d459b
MD5 8a08fd9dead62db574a5e7ec873239ba
BLAKE2b-256 8ae75931f89e7f4ac1ca751122926989d302bf53612e09efc637a95d7b2b5472

See more details on using hashes here.

Supported by

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