pyselsearch
Get Google Search results using browser as requests sometimes sucks. It includes support for proxy authentication, headless browsing, and customizable search result parsing.
Features
- Headless and non-headless scraping
- Authenticated proxy support (
username:password@host:port) - Dynamic Chrome extension creation for proxy auth
- Undetected ChromeDriver (via SeleniumBase)
- CLI tool for quick usage
Installation
Clone the repository and install in editable mode:
pip install pyselsearch
Usage
Python
from pyselsearch.core import GoogleSearch
scrape = GoogleSearch(proxy="username:password@host:port")
results =scrape.search("OpenAI ChatGPT")
for result in results:
print(result["title"], result["url"])
Command Line
pyselsearch "search query"
Additional options:
pyselsearch "search query" --headless --proxy "user:pass@host:port"
License
This project is licensed under the MIT License.
Metadata
Release files for pyselsearch 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyselsearch-0.2.2.tar.gz | 7.1 kB | Without provenance | Details for pyselsearch-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyselsearch-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for pyselsearch-0.2.2-py3-none-any.whl |
Total release size: 15.2 kB
Release files / pyselsearch-0.2.2.tar.gz
| Download URL | pyselsearch-0.2.2.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d8df1f6c85aea93c47d2fe8aa2d0f366873f42a1a099cd2fe6505c5f86329e65
|
|
BLAKE2b-256 checksum How to use checksums |
aff3f4b718944e33dd95ed9b8698bd845e7bd71bdeca2276c781f8d7242eda87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Release files / pyselsearch-0.2.2-py3-none-any.whl
| Download URL | pyselsearch-0.2.2-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91f6cdc13657d15c61c8fd96d4fdc480a22c1e53cdad53f85661809374654b05
|
|
BLAKE2b-256 checksum How to use checksums |
c44b33d0e5c8c6bc88206387ea42039865218b0dcd280f1670fb3ac0b014dd43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.2
|
Security for pyselsearch 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.