Skip to main content

A versatile downloader for various types of internet content

Project description

Dlsys

Dlsys is a versatile Python package for downloading and processing various types of content from the internet, including YouTube videos, websites, images, and audio files.

Version

Current version: 0.1.3

Features

  • Download audio from YouTube videos
  • Split audio files into segments
  • Download images from URLs
  • Download webpages
  • Support for multiprocessing to speed up downloads

Installation

You can install Dlsys using pip:

pip install dlsys

Usage

Here are some examples of how to use Dlsys:

from dlsys import Dlsys

# Download audio from a YouTube video and split it into 60-minute segments
Dlsys().set_url("https://youtu.be/Y3whytmX51w").split(60).audio()

# Download multiple audio files using multiprocessing
urls = ["https://youtu.be/video1", "https://youtu.be/video2", "https://youtu.be/video3"]
Dlsys().set_url(urls).output_dir("downloads").multi().audio()

# Download images
image_urls = ["https://example.com/image1.jpg", "https://example.com/image2.png"]
Dlsys().set_url(image_urls).output_dir("images").download_images(image_urls)

# Download webpages
webpage_urls = ["https://example.com", "https://example.org"]
Dlsys().set_url(webpage_urls).output_dir("webpages").download_webpages(webpage_urls)

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

dlsys-0.1.5.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

dlsys-0.1.5-py3-none-any.whl (3.1 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