Download a video using `yt-dlp` and stream the file directly to S3
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Juan Olvera 826efeb3fa first commit 2 years ago
.idea first commit 2 years ago
tests first commit 2 years ago
yt_dlp_stream_to_s3 first commit 2 years ago
.gitignore first commit 2 years ago
LICENSE first commit 2 years ago
README.md first commit 2 years ago
poetry.lock first commit 2 years ago
pyproject.toml first commit 2 years ago

README.md

<<<<<<< HEAD

yt-dlp-stream-to-s3

=======

yt-dlp stream to s3

Small utility to download a file using yt-dlp and stream directly to s3. Avoids saving the file on disk.

Install

pip install yt-dlp-stream-to-s3

Usage

from yt_dlp_stream_to_s3 import yt_dlp_stream_to_s3

URL = "https://old.reddit.com/r/psytrance/comments/13k1glj/help_timeless_track_id_by_anoebis_last_weekend_on/"

try:
    yt_dlp_stream_to_s3(URL, s3_extra_args=dict(ACL="public-read"))
except Exception as e:
    print("error", e)

d2b1e5d (first commit)