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.6.tar.gz (7.2 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.6-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yt_service-0.0.6.tar.gz
  • Upload date:
  • Size: 7.2 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.6.tar.gz
Algorithm Hash digest
SHA256 22fd74ff956585531b5e41116cdcb2d9195fd023b0514ee17f03a79707c40971
MD5 6044f81e99bd9757a9f7cb5f9a5c161e
BLAKE2b-256 8709c181c5e16a5dab3223c1e689d560191cfa6881939af0255dd60581e3363e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yt_service-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1f18bc2bf69052ec6c54c429c4c3b65b0d945c802d8351d35d7447d2f6e77a67
MD5 cd575f876a103baee53bc86535eceabb
BLAKE2b-256 b2965ac67bfd1327bd5ad8525251cddf7ac7e6e99a5fcc679bfeb55a09a630c6

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