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 details)
Built Distribution
dlsys-0.1.5-py3-none-any.whl
(3.1 kB
view details)
File details
Details for the file dlsys-0.1.5.tar.gz
.
File metadata
- Download URL: dlsys-0.1.5.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8c34c39cc416fce78ccc7a0eb1b0ab947f322df5b682abbdca8ba46fbdb9d72 |
|
MD5 | ee6ccfe3fedec35a473dda1a0b571c6d |
|
BLAKE2b-256 | bdae20e389bffdf3ccfbe7d3aee496a670339b7b30e70d19d0aee645de7701f7 |
File details
Details for the file dlsys-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: dlsys-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf5e6189798c011e109f027117001eddfe0239a21415e580d4e98224785cc38b |
|
MD5 | 529321f1d1cb874520372b77e262c2d8 |
|
BLAKE2b-256 | 924c8ace0b67e3ce397f52a6ec794a490c16e7338d5731d8cbc8852d1122edf7 |