Skip to main content

Youtube Search in the CLI - Improved

Project description

YouTube Terminal Player and Search

YouTube Terminal Player and Search is a simple tools to search youtube from the terminal. It also gives you the url, so you can use mpv to watch the video. This bypasses the need to use youtube at all. Also, ytps doesn't use the youtube REST API, it only uses programs that scrape youtube. ytps uses many modules that scrap youtube. ytps doesn't on it's own provides no results. It only uses the below modules and compiles them to look beautiful and nice.

3rd party modules used in ytps:

youtube-search-python: website ; youtube-search: website ; rich: website

Usage

  1. General Usage
ytps "youtube_search_term"
  1. Open latest video in mpv
ytps -o "youtube_search_term"
  1. Open more relevant but slower results
ytps -l "youtube_search_term"
  1. Play Url or Most Relevant Result based on string
ytps -p "youtube_search_term"
  1. Channel Info
ytps -c "channel_name"
  1. Video Info
ytps --info "video_url"
  1. About
ytps -a "any_string"
  1. Help
ytps --help
  1. Version
ytps --version

License

The MIT License (MIT)

Copyright © 2021 NoobScience

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Github

Made By NoobScience

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

ytps-1.2.2.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

ytps-1.2.2-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

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