PyouPlay

This is a simple python package when passed with a search argument, returns youtube video link with title.


Keywords
packaging, python
License
MPL-2.0
Install
pip install PyouPlay==0.1

Documentation

Build Status

PyouPlay

python Package to get links to videos from youtube when you pass search argument

How to use?

Dowload using pip

pip install pyouplay

Import

from PyouPlay import get

Pass seach argument

get.toplink("Pass a string you want to seach") [toplink will return a string containing link to the youtube video]

OR

get.toplinks("Pass a string you want to seach") [toplinks will return a list of top 20 videos links from youtube]

Optional Argument - Open video in browser

Pass 1 for the second positional argument

get.toplink("Pass a string you want to seach", 1) [toplink will open the youtube video in the web browser]