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.2.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_suggestions-0.2.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: youtube-suggestions-0.2.2.tar.gz
  • Upload date:
  • Size: 3.3 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.2.tar.gz
Algorithm Hash digest
SHA256 876a239149c0db4b93a226fe6e398dd9ce03e93b49a97e00f54f2c8a27efdaa4
MD5 7b3ad9123b963a9ffc3e693e93fca4b2
BLAKE2b-256 b54eaef4a653801069ebb64926756cb0a04a6c619b7c40a1e12db80722762384

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for youtube_suggestions-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ff0a89518c0573ef4cfd9efde35fdff8d60624b4a9e64b1330af22ca4c3a562f
MD5 1d4616c69454452a6376657241141d06
BLAKE2b-256 ee8bb357c7ad7e97489debe1967f00b77fe4fff816711d12661797f2b60f2024

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