# Dlsys v2.1.0
Dlsys is a powerful and versatile Python package for downloading and processing various types of content from the internet, including YouTube videos, websites, images, and audio files.
## Features
- Download audio and video from YouTube and other supported platforms
- Split audio files into customizable segments
- Download images from URLs with error handling
- Download and save webpages
- Support for multiprocessing to speed up downloads
- Improved error handling and logging
- Customizable output formats for audio and video
## Installation
You can install Dlsys using pip:
```
pip install dlsys
```
## Usage
Here are some examples of how to use Dlsys v2.1.0:
```python
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 video from a YouTube URL in MP4 format
Dlsys().set_url("https://youtu.be/Y3whytmX51w").set_format("mp4").video()
# 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()
# Download webpages
webpage_urls = ["https://example.com", "https://example.org"]
Dlsys().set_url(webpage_urls).output_dir("webpages").download_webpages()
```
## New in v2.1.0
- Added `set_format()` method to specify output format for audio and video
- Improved error handling with more informative error messages
- Enhanced logging capabilities for better debugging
- Performance optimizations for faster downloads
- Updated dependencies to their latest versions
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## Support
If you encounter any issues or have questions, please open an issue on the [GitHub repository](https://github.com/yourusername/dlsys/issues).
Raw data
{
"_id": null,
"home_page": "https://github.com/yourusername/dlsys",
"name": "dlsys",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "downloader youtube audio video image webpage",
"author": "Your Name",
"author_email": "your.email@example.com",
"download_url": "https://files.pythonhosted.org/packages/b1/84/48c459e73a04b74dae4941f8f4234b5cceafab4c3e6cc93cbffe68a1af4d/dlsys-2.1.0.tar.gz",
"platform": null,
"description": "# Dlsys v2.1.0\n\nDlsys is a powerful and versatile Python package for downloading and processing various types of content from the internet, including YouTube videos, websites, images, and audio files.\n\n## Features\n\n- Download audio and video from YouTube and other supported platforms\n- Split audio files into customizable segments\n- Download images from URLs with error handling\n- Download and save webpages\n- Support for multiprocessing to speed up downloads\n- Improved error handling and logging\n- Customizable output formats for audio and video\n\n## Installation\n\nYou can install Dlsys using pip:\n\n```\npip install dlsys\n```\n\n## Usage\n\nHere are some examples of how to use Dlsys v2.1.0:\n\n```python\nfrom dlsys import Dlsys\n\n# Download audio from a YouTube video and split it into 60-minute segments\nDlsys().set_url(\"https://youtu.be/Y3whytmX51w\").split(60).audio()\n\n# Download video from a YouTube URL in MP4 format\nDlsys().set_url(\"https://youtu.be/Y3whytmX51w\").set_format(\"mp4\").video()\n\n# Download multiple audio files using multiprocessing\nurls = [\"https://youtu.be/video1\", \"https://youtu.be/video2\", \"https://youtu.be/video3\"]\nDlsys().set_url(urls).output_dir(\"downloads\").multi().audio()\n\n# Download images\nimage_urls = [\"https://example.com/image1.jpg\", \"https://example.com/image2.png\"]\nDlsys().set_url(image_urls).output_dir(\"images\").download_images()\n\n# Download webpages\nwebpage_urls = [\"https://example.com\", \"https://example.org\"]\nDlsys().set_url(webpage_urls).output_dir(\"webpages\").download_webpages()\n```\n\n## New in v2.1.0\n\n- Added `set_format()` method to specify output format for audio and video\n- Improved error handling with more informative error messages\n- Enhanced logging capabilities for better debugging\n- Performance optimizations for faster downloads\n- Updated dependencies to their latest versions\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## Support\n\nIf you encounter any issues or have questions, please open an issue on the [GitHub repository](https://github.com/yourusername/dlsys/issues).\n",
"bugtrack_url": null,
"license": null,
"summary": "A versatile downloader for various types of internet content",
"version": "2.1.0",
"project_urls": {
"Bug Tracker": "https://github.com/yourusername/dlsys/issues",
"Documentation": "https://github.com/yourusername/dlsys/blob/main/README.md",
"Homepage": "https://github.com/yourusername/dlsys",
"Source Code": "https://github.com/yourusername/dlsys"
},
"split_keywords": [
"downloader",
"youtube",
"audio",
"video",
"image",
"webpage"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b6fad594f1e07fdb077a0ad63001b9f956bcb91bf9162cd502e68e7bb4601267",
"md5": "dfe32120e40a3453da1aabb148aba390",
"sha256": "27e009e059096289c7719697634d196e8f379b53b76cfcdb5760576deb7f460f"
},
"downloads": -1,
"filename": "dlsys-2.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "dfe32120e40a3453da1aabb148aba390",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 6198,
"upload_time": "2024-08-17T15:58:19",
"upload_time_iso_8601": "2024-08-17T15:58:19.239676Z",
"url": "https://files.pythonhosted.org/packages/b6/fa/d594f1e07fdb077a0ad63001b9f956bcb91bf9162cd502e68e7bb4601267/dlsys-2.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b18448c459e73a04b74dae4941f8f4234b5cceafab4c3e6cc93cbffe68a1af4d",
"md5": "e9974887ec38b2decd5f8e18f86270f0",
"sha256": "45ec7e1784c296cf90ee25ae32a010e7ab9db3cd71474c48984315825054c72d"
},
"downloads": -1,
"filename": "dlsys-2.1.0.tar.gz",
"has_sig": false,
"md5_digest": "e9974887ec38b2decd5f8e18f86270f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 6065,
"upload_time": "2024-08-17T15:58:20",
"upload_time_iso_8601": "2024-08-17T15:58:20.713460Z",
"url": "https://files.pythonhosted.org/packages/b1/84/48c459e73a04b74dae4941f8f4234b5cceafab4c3e6cc93cbffe68a1af4d/dlsys-2.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-17 15:58:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "dlsys",
"github_not_found": true,
"lcname": "dlsys"
}