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 details)

Uploaded Source

Built Distribution

youtube_search_python-0.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file youtube-search-python-0.0.1.tar.gz.

File metadata

  • Download URL: youtube-search-python-0.0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for youtube-search-python-0.0.1.tar.gz
Algorithm Hash digest
SHA256 36486f2cec675ddd5618585c808b69ad7357db231be6cbaf746362e735d102f1
MD5 9475e05c0addf3e3b63a2765b948e6cd
BLAKE2b-256 222ea37c0e548304a5dc1052f50729b14c19468701b80263c7654debcc08114e

See more details on using hashes here.

File details

Details for the file youtube_search_python-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: youtube_search_python-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.0

File hashes

Hashes for youtube_search_python-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 18dd869d54b41c23a7953c73fb13c79a03de12ae8fb30da36080bb65b5ba449a
MD5 18752604d483d748bb903edb013bf258
BLAKE2b-256 0b2e7a601782c232f109234e72c80934545e6defed0a6a1b2e3911233efbef2e

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