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-0.1.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

ytps-0.1.1-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file ytps-0.1.1.tar.gz.

File metadata

  • Download URL: ytps-0.1.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for ytps-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ec8122f5d16e349bf06c0a3dcc813ab9a57b3ef89471fd57974ba23377f8796a
MD5 9ca6683b15df8f91ce43c5f68bb19b2c
BLAKE2b-256 569dcfb1d4f3fdd3a5d02a71dddcbceedbe011144b5bdb80b30a8085068b0051

See more details on using hashes here.

File details

Details for the file ytps-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ytps-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.5

File hashes

Hashes for ytps-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 70b1b741ff2cf18ecea944db577c06f8aa80bd2d341c093d33f7d0bcf80ee800
MD5 f455fee846411287938f6da86985413a
BLAKE2b-256 0ddab65d3dc0405d030500f267fdd3b07eed63dfde041cd4f418798d641e95df

See more details on using hashes here.

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