Metadata-Version: 2.1
Name: sogou-scraper-pw
Version: 0.1.0a0
Summary: 
Home-page: https://github.com/ffreemt/sogou-scraper-playwright
Author: freemt
Requires-Python: >=3.7,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: about-time (>=4.1.0,<5.0.0)
Requires-Dist: get-pwbrowser-sync (>=0.1.0-alpha.3,<0.2.0)
Requires-Dist: logzero (>=1.7.0,<2.0.0)
Requires-Dist: playwright[chromium] (>=1.24.0,<2.0.0)
Requires-Dist: pyquery (>=1.4.3,<2.0.0)
Project-URL: Repository, https://github.com/ffreemt/sogou-scraper-playwright
Description-Content-Type: text/markdown

# sogou-scraper-pw
<!--- repo_name  sogou_scraper_pyppeteer  sogou_scraper_pp sogou_scraper_pp --->
[![tests](https://github.com/ffreemt/sogou-scraper-playwright/actions/workflows/routine-tests.yml/badge.svg)][![python](https://img.shields.io/static/v1?label=python+&message=3.7%2B&color=blue)](https://img.shields.io/static/v1?label=python+&message=3.7%2B&color=blue)[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)[![PyPI version](https://badge.fury.io/py/sogou_scraper_pw.svg)](https://badge.fury.io/py/sogou_scraper_pw)

Scrape sogou tr using playwright

## Installation
```bash
pip install -U sogou-scraper-pw
```

## Usage

```python
from pprint import pprint
from sogou_scraper_pw import sogou_tr

res = sogou_tr("test me\n test him")
pprint(res)
# '考验我\n测试他'

print(sogou_tr("test me", to_lang="de"))
# Mich auf die Probe stellen.

