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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file youtube-suggestions-0.2.3.tar.gz.
File metadata
- Download URL: youtube-suggestions-0.2.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
056948d9980118a62b0b7a6d4120f813f8c069c64064036158ea47ee3b1d6f4e
|
|
| MD5 |
f39333d425da98f05d4216b6cf609bfa
|
|
| BLAKE2b-256 |
9042e58d5d8315329e8ed47d1b90ad6fe4cb62cf06753f273e7b48fb2f1f1759
|
File details
Details for the file youtube_suggestions-0.2.3-py3-none-any.whl.
File metadata
- Download URL: youtube_suggestions-0.2.3-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
007a5d99269b97898f51e2cfff49567f8e6ba397d1412d76d14c8e54586e5887
|
|
| MD5 |
639bfe6acb03c238b8edcb1982b943fb
|
|
| BLAKE2b-256 |
46a4284a4a9fae91be4c37bbdac9608180a72c15960da589ec0ea8bc8f9c005c
|