Metadata-Version: 2.4
Name: pyselsearch
Version: 0.2.2
Summary: Just another side project, to help my personal issue of google searching
Author-email: Jisan <md7509jisan@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/jisan09/pyselsearch
Project-URL: Repository, https://github.com/jisan09/pyselsearch
Project-URL: Issues, https://github.com/jisan09/pyselsearch/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Internet :: WWW/HTTP :: Indexing/Search
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: seleniumbase==4.40.8
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-mock; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: black; extra == "dev"
Requires-Dist: isort; extra == "dev"
Dynamic: license-file

# 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:

```bash
pip install pyselsearch
```

## Usage

### Python

```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

```bash
pyselsearch "search query"
```

Additional options:

```bash
pyselsearch "search query" --headless --proxy "user:pass@host:port"
```

## License

This project is licensed under the MIT License.
