Playwright request to make regular request for sites that blocks regular requests like www.amazon.com or www.tripadvisor.com
Project description
Playwright Request for Python
This is a library aiming to help programmers to create requests by using playwright browser and bypass sites like www.amazon.com or www.tripadvisor.com in general, all sites that block regular requests or require a proxy to crawl pages in parallel
This library contains: the code to perform requests and a class to extend and manipulate pages
Installation
pip install playwright-request
Usage
from playwright_request import PlaywrightRequest
#crawl
requester = PlaywrightRequest()
html = requester.get(url="YOUR/SITE")
#alternative to read
htmls = requester.async_get(urls=["url1","url2"])
# Install CLI tools
``pip install .``
# Author
Pedro Mayorga.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
playwright-request-1.1.0.tar.gz
(11.3 kB
view hashes)
Built Distribution
Close
Hashes for playwright_request-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45393d8f74773e8d6a9295dff85a09303f1ad72b727b5d7de8d0a158a45d0259 |
|
MD5 | b857275c87b8fe69a799181b0047faae |
|
BLAKE2b-256 | 31ff4286aa259d2ed09771e3002346300d34fcf9f8e7a9a8d1f1145d7d1c143f |