Skip to main content

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

yt_service-0.0.10.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yt_service-0.0.10-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file yt_service-0.0.10.tar.gz.

File metadata

  • Download URL: yt_service-0.0.10.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

Hashes for yt_service-0.0.10.tar.gz
Algorithm Hash digest
SHA256 3294c42f1b2bf02a3f2f7c68f77a3c08122133c2d39d38185b30c76188e3ebb5
MD5 69959b3f3e05d8142956406c181d8aa6
BLAKE2b-256 aea7d9164f6723f04f1bb702e1ffedcf74305ee32db4aeee3ec9e187895be377

See more details on using hashes here.

File details

Details for the file yt_service-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: yt_service-0.0.10-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

Hashes for yt_service-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 fd3cfe843ea533482db89fe068822ebfabe9cd10dc7034a5522dd218fe208a96
MD5 4f2d342331a94d388ed74c5a5838d653
BLAKE2b-256 42dc38e9e2f1d32723e25aa2b28f06e767da53338f7cdc1b832f6b45e33e9bab

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page