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.
Metadata
Release files for youtube-suggestions 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| youtube-suggestions-0.2.3.tar.gz | 3.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| youtube_suggestions-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / youtube-suggestions-0.2.3.tar.gz
| Download URL | youtube-suggestions-0.2.3.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
056948d9980118a62b0b7a6d4120f813f8c069c64064036158ea47ee3b1d6f4e
|
|
BLAKE2b-256 checksum How to use checksums |
9042e58d5d8315329e8ed47d1b90ad6fe4cb62cf06753f273e7b48fb2f1f1759
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.7
|
Release files / youtube_suggestions-0.2.3-py3-none-any.whl
| Download URL | youtube_suggestions-0.2.3-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
007a5d99269b97898f51e2cfff49567f8e6ba397d1412d76d14c8e54586e5887
|
|
BLAKE2b-256 checksum How to use checksums |
46a4284a4a9fae91be4c37bbdac9608180a72c15960da589ec0ea8bc8f9c005c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.7
|