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

Uploaded Python 3

File details

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

File metadata

  • Download URL: youtube-suggestions-0.2.1.tar.gz
  • Upload date:
  • Size: 3.0 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.1.tar.gz
Algorithm Hash digest
SHA256 4731509b6fb28aeb8b4e81a92706881f944e846083aad9f8f695c1cf5752e093
MD5 1fa2831b45c65764659012b6471c5946
BLAKE2b-256 67b7a49190d95b8a3c10d0b49791713bff6155a19623484b1aaa72937f35a0be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtube_suggestions-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3e22dd2b7388be11256c85a40e06f0b25f74984d360b7bc908acf7b2ccfb3872
MD5 7e23f51eb5e957c21d004754be09f624
BLAKE2b-256 2d053c7ff847036bd7df49975a472cbf95990b71a6d3ef81f925a1a0217ceacc

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