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.2.tar.gz (15.2 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.2-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: crec-1.0.2.tar.gz
  • Upload date:
  • Size: 15.2 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.2.tar.gz
Algorithm Hash digest
SHA256 8a8da7e7fbb9d22689030d8c5b041ffa18794f75649719f348d5f8a7813696d6
MD5 03b7ad07ecaa9285b20ac0dd2cce0ece
BLAKE2b-256 c7b6cd2d456cfb0fb44db63f88ee0a87407015184af672544be8131910dafb5f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: crec-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 26.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d117d9d6481bb8c6b758e8af8bdb710ce598cdb359598cce301845f868d4ee47
MD5 fdc9c5b52f05fe926ff9a5519719cd78
BLAKE2b-256 3cedd0c3b875492a2f8f17b6fab3a9dbbe655df9e4e9eb174889c81523816880

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