Skip to main content

No project description provided

Project description

sogou-scraper-pw

[tests]pythonCode style: blackLicense: MITPyPI version

Scrape sogou tr using playwright

Installation

pip install -U sogou-scraper-pw

Usage

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.

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

sogou-scraper-pw-0.1.0a0.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

sogou_scraper_pw-0.1.0a0-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page