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-1.1.0.tar.gz (2.5 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-1.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file youtube-search-1.1.0.tar.gz.

File metadata

  • Download URL: youtube-search-1.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for youtube-search-1.1.0.tar.gz
Algorithm Hash digest
SHA256 255fea3ca98cda488c585734183b30ac7b55ddbd79e6e79f999d94983c8077e6
MD5 3554ae4f5af6af773e2ac23e73cf4cb1
BLAKE2b-256 fa7630da93da964524fe714d6a6e4f4492443486c4e230497359d69db1645ae2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: youtube_search-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

File hashes

Hashes for youtube_search-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1eec909083478a44c58d97ed43f397487e43304b1056f7b6472bff68859f1f84
MD5 88fc7e54d211823c7434fc2a755fedc3
BLAKE2b-256 3051f0dba7a7c74888a1d54c324e0fb7a91d973a02ae4a7805a44046831ce507

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