Scrapeit Cloud Python SDK
Scrapeit Cloud - Web Scraping API with Proxy Rotation. Get valuable data at scale in HTML format from any website without need for a proxy.
Interface to call Scrapeit Cloud API easily from Python.
Install
pip install scrapeit-cloud
Usage
Signup to Scrapeit Cloud to get your API key and some free credits to get started.
>>> from scrapeit_cloud import ScrapeitCloudClient
>>>
>>> client = ScrapeitCloudClient(api_key='INSERT_YOUR_API_KEY_HERE')
>>>
>>> response = client.scrape(
params={
"url": "https://example.com"
}
)
>>>
>>> response.text
'{"status":"ok","scrapingResult":{"content":"<!DOCTYPE html><html><head>\\n <title>Example Domain</title>\\n\\n <meta charset=\\"utf-8\\">\\n <meta http-equiv=\\"Content-type\\" content=\\"text/html; charset=utf-8\\">\\n <meta name=\\"viewport\\" content=\\"width=device-width, initial-scale=1\\">\\n <style type=\\"text/css\\">\\n body {\\n background-color: #f0f0f2;\\n margin: 0;\\n padding: 0;\\n font-family: -apple-system, system-ui, BlinkMacSystemFont, \\"Segoe UI\\", \\"Open Sans\\", \\"Helvetica Neue\\", Helvetica, Arial, sans-serif;\\n \\n }\\n div {\\n width: 600px;\\n margin: 5em auto;\\n padding: 2em;\\n background-color: #fdfdff;\\n border-radius: 0.5em;\\n box-shadow: 2px 3px 7px 2px rgba(0,0,0,0.02);\\n }\\n a:link, a:visited {\\n color: #38488f;\\n text-decoration: none;\\n }\\n @media (max-width: 700px) {\\n div {\\n margin: 0 auto;\\n width: auto;\\n }\\n }\\n </style> \\n</head>\\n\\n<body>\\n<div>\\n <h1>Example Domain</h1>\\n <p>This domain is for use in illustrative examples in documents. You may use this\\n domain in literature without prior coordination or asking for permission.</p>\\n <p><a href=\\"https://www.iana.org/domains/example\\">More information...</a></p>\\n</div>\\n\\n\\n</body></html>","headers":{"accept-ranges":"bytes","age":"477265","cache-control":"max-age=604800","content-encoding":"gzip","content-length":"648","content-type":"text/html; charset=UTF-8","date":"Thu, 11 Aug 2022 11:56:20 GMT","etag":"\\"3147526947\\"","expires":"Thu, 18 Aug 2022 11:56:20 GMT","last-modified":"Thu, 17 Oct 2019 07:18:26 GMT","server":"ECS (nyb/1D17)","vary":"Accept-Encoding","x-cache":"HIT"},"cookies":[]}}'
>>>
Scrapeit Cloud supports various parameters to execute a custom JavaScript script, use a premium proxy from a specific geolocation and more.
You can find all the supported parameters on Scrapeit Cloud documentation.
Metadata
Release files for scrapeit-cloud 1.0.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 |
|---|---|---|---|---|
| scrapeit-cloud-1.0.2.tar.gz | 4.0 kB | Without provenance | Details for scrapeit-cloud-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| scrapeit_cloud-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for scrapeit_cloud-1.0.2-py3-none-any.whl |
Total release size: 8.7 kB
Release files / scrapeit-cloud-1.0.2.tar.gz
| Download URL | scrapeit-cloud-1.0.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a269392502b3dbf685d480f39a03c8a66f8f7ec4e7bfd13c5905d03849ecaf3e
|
|
BLAKE2b-256 checksum How to use checksums |
5c66eadb2486ebc9c6398617f28e0117cd05e477f4eef31aa98c76ca469e124f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.6
|
Release files / scrapeit_cloud-1.0.2-py3-none-any.whl
| Download URL | scrapeit_cloud-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6a7d0fffd1763cd1a4a7e0281cc41693b3011d99e19fa672c10f2bef4e396781
|
|
BLAKE2b-256 checksum How to use checksums |
df298010840e0d746c0f3d56b9c704dcf7d1eb8424528476b4ffd3d3a348f96e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.6
|
Security for scrapeit-cloud 1.0.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.