Skip to main content

A package to get YouTube search suggestions with proxy support

Project description

YouTube Suggestions

A simple Python package to get YouTube search suggestions with optional proxy support.

Installation

You can install the YouTube Suggestions package using pip:

pip install youtube-suggestions

Usage

Here's a quick example of how to use the package:

from youtube_suggestions import get_suggestions

# Without proxy
suggestions = get_suggestions("python programming")
print(suggestions)

# With proxy
proxy = "gate.dc.smartproxy.com:1111:proxyname:password"
suggestions_with_proxy = get_suggestions("python programming", proxy=proxy)
print(suggestions_with_proxy)

This will print a list of search suggestions for "python programming", first without a proxy and then using the specified proxy.

Features

  • Get YouTube search suggestions
  • Optional proxy support
  • Fallback method if the primary method fails
  • Easy to use

Proxy Format

The proxy should be specified in the following format:

host:port:username:password

For example:

gate.dc.smartproxy.com:1111:proxyname:password

Requirements

  • Python 3.6+
  • requests library

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

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-suggestions-0.2.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

youtube_suggestions-0.2.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file youtube-suggestions-0.2.0.tar.gz.

File metadata

  • Download URL: youtube-suggestions-0.2.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.7

File hashes

Hashes for youtube-suggestions-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1e05fa165892622c9a17e22faf82457aa5aaae2fdbad2b3cc6c8b1a5b3e2ffbc
MD5 16ebd0bd40aa7e48d1edfc30d7e2ef40
BLAKE2b-256 aa6bf098576c65585d439fb44eb3bcc7afc591e69cf93e28eabf5dfe802285cd

See more details on using hashes here.

File details

Details for the file youtube_suggestions-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for youtube_suggestions-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f75c5c997dfdbfa7097df1bb9cde14bbad9c6bcaf49af44c83fe3e8a602cacdf
MD5 bfbd1965f0a3966d4a6ccd9e3a1aa0da
BLAKE2b-256 00c8ee83c2a4633a9c2bc76de20fd0666567b9478a28dc53ae8ef8699bc8e6fa

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