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.9.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.9-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_service-0.0.9.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.9.tar.gz
Algorithm Hash digest
SHA256 ae8889302c6182b539fafb7f8e56fb1cac39fc45d74583cce6c0f73d48869e7f
MD5 9a93e979a7fd4aaa97a05079276b7a0b
BLAKE2b-256 dc918ec83f5288d4cbb7cd4a450e06d430e62b185b723191dd849140ad755e54

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_service-0.0.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 3a2a34c9418e02a6406de07f33e00ce1a9d94dc3633aefbfaf80c33393a79c06
MD5 328527f1b0c006d564d8ce57e6c1b50a
BLAKE2b-256 a686965e77dd641a2486f5cf898492f93bd3ea25c9cbcb40fee23ddcef43b930

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