Skip to main content

Perform YouTube video searches without the API

Project description

youtube_search

Python function for searching for youtube videos to avoid using their heavily rate-limited API

To avoid using the API, this uses the form on the youtube homepage and scrapes the resulting page.

Example Usage

For a basic search (and all of the current functionality), you can use the search tool as follows:

pip install youtube-search

from youtube_search import YoutubeSearch

results = YoutubeSearch('search terms', max_results=10).to_json()

print(results)

# returns a json string

########################################

results = YoutubeSearch('search terms', max_results=10).to_dict()

print(results)
# returns a dictionary

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

youtube_search-2.2.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file youtube_search-2.2.0.tar.gz.

File metadata

  • Download URL: youtube_search-2.2.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for youtube_search-2.2.0.tar.gz
Algorithm Hash digest
SHA256 5398a7cd65d9b75a8bac27ef689ec044abab3cbfa1f20d19db0277659ac70d98
MD5 6db947626bc588b694e1512f467a8145
BLAKE2b-256 5f13153d6841d0a9850e956f2f99987185c5b8477cc36fbabca24c4acf0321ff

See more details on using hashes here.

File details

Details for the file youtube_search-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: youtube_search-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for youtube_search-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bdffbb5b22d7a7c85a88e6eeb6b00c5b5dbd29ea7b95139d21b8b8dab2ca5871
MD5 fca283ac5c380a547a13062754ee74a7
BLAKE2b-256 0f3d7285e86e6390801fb177763a9cf1d81762487f98b3872ab5e1080bb82602

See more details on using hashes here.

Supported by

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