Skip to main content

A python script to return video links and titles by searching in YouTube without Youtube Data API v3.

Project description

youtube-search-python

A python script to return video links and titles by searching in YouTube. (Made from scratch without using YouTube API)

A small python script that will return URLs and title names of videos when entering a keyword to search in youtube. Feel free to use. Made from scratch.

Working as of June, 2020.

Install

pip3 install youtube-search-python

Usage

from youtubesearchpython.searchyoutube import searchyoutube

##########Returns a array having two sub-arrays with video titles and links##########
result = searchyoutube("ENTER-YOUR-SEARCH-KEYWORD-HERE", "ENTER-SEARCH-OFFSET-HERE (default is 1)")

print(result[0]) #gives video links
print(result[1]) #gives video titles

##########Returns string "Network Error!" in case a network error is encountered##########

Like the module?

Consider starring the repo. Feel free to use.

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

youtube-search-python-0.0.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

youtube_search_python-0.0.1-py3-none-any.whl (3.9 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