yt-dlp service
Project description
yt-service Usage Guide
Overview
yt-service is a command-line utility designed to manage and control a video downloading service. This guide provides details on available options and their usage.
Command Syntax
yt-service [OPTIONS]
Options
| Option | Description | Default Value |
|---|---|---|
--host TEXT |
Service IP address | 0.0.0.0 |
--port INTEGER |
Service port | 8000 |
--proxy TEXT |
Proxy server address | socks5://127.0.0.1:1086 |
--download-dir PATH |
Directory where downloads will be stored | ~/YTDownload |
-s, --signal [install|start|stop|status|rm] |
Send signal to the service (install, start, stop, status, remove) | |
--help |
Show help message and exit |
Example Usage
Start the Service
To start the service with the default settings:
yt-service --host 0.0.0.0 --port 8000
Change the Download Directory
To specify a different download directory:
yt-service --download-dir /path/to/download
Use a Different Proxy Server
To use a different proxy server:
yt-service --proxy socks5://new.proxy.address:port
Manage Service Signals
- Install the service:
yt-service -s install
- Start the service:
yt-service -s start
- Stop the service:
yt-service -s stop
- Check service status:
yt-service -s status
- Remove the service:
yt-service -s rm
Display Help
To display the help message with detailed information about the options:
yt-service --help
Conclusion
This guide provides a comprehensive overview of the yt-service command-line utility. By using the provided options and examples, users can effectively manage and control the video downloading service according to their specific requirements.
Deploy
pip install build twine
python -m build
twine upload dist/*
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yt_service-0.0.8.tar.gz.
File metadata
- Download URL: yt_service-0.0.8.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ed647b97f172e1c8432573d7eb2b9a19a81e1685cbb07b0e831299ae76f5e7d
|
|
| MD5 |
e17bbc1bad606b611f70bc6f3f17d096
|
|
| BLAKE2b-256 |
5e91cc831827d2471a6c445082881397cba390a91d55357f8e98332c932b891b
|
File details
Details for the file yt_service-0.0.8-py3-none-any.whl.
File metadata
- Download URL: yt_service-0.0.8-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5fe22e2df6c93ebea7a6af3bce37f28820792523c178015e0dad1a6f13674d93
|
|
| MD5 |
805621a0808ad8aa61cd35a663b6f2ea
|
|
| BLAKE2b-256 |
82740ddf1bf1c9ef5e9fbc9069bf2661740828cce4619aec5c255f378a8f7837
|