quickscraper-sdk-python
Register For Free https://www.quickscraper.co
Installation
pip install quickscraper-sdk
Get Free Access (Free Forever)
- Register yourself here https://app.quickscraper.co/auth/register
Examples
Basic Usage
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml('http://httpbin.org/ip')
print(response._content)
Write a HTML to File
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
quickscraper_client.writeHtmlToFile(
'http://httpbin.org/ip', file_path='filename.html')
Rendering Javascript
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml('http://httpbin.org/ip', render=True)
print(response._content)
Custom Headers
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml(
'https://httpbin.org/headers', keep_headers=True, headers={'X-My-Custom-Header': 'QS-APP'})
print(response._content)
Geographic Location
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml(
'http://httpbin.org/ip', country_code='US')
print(response._content)
Premium Residential/Mobile Proxy Pools
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml('http://httpbin.org/ip', premium=True)
print(response._content)
Device Type
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml('http://httpbin.org/ip', device_type='mobile')
print(response._content)
Account Information
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
usage = quickscraper_client.account()
print(usage)
Parser Addon
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml('http://httpbin.org/ip', parserSubscriptionId='PARSER_SUBSCRIPTION_ID')
print(response._content)
Webhook Addon
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml('http://httpbin.org/ip', webhookRequestId='WEBHOOK_ID')
print(response._content)
Get JSON from data
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getData('http://httpbin.org/ip', parserSubscriptionId='PARSER_SUBSCRIPTION_ID')
print(response._content)
Write CSV, EXCEL to file from data
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.writeHtmlToFile('http://httpbin.org/ip', file_path='YOUR_FILE_PATH', parserSubscriptionId='PARSER_SUBSCRIPTION_ID')
print(response._content)
Add Dynamic Inputs With Parser
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getData('http://httpbin.org/ip', parserSubscriptionId='PARSER_SUBSCRIPTION_ID', dynamicInputs= [ {'name': 'YOUR_INPUT_NAME', 'value': 'YOUR_INPUT_VALUE' } ])
print(response._content)
Scroll To Bottom Of the Page Feature
from quickscraper_sdk import QuickScraper
quickscraper_client = QuickScraper('YOUR_ACCESS_TOKEN')
response = quickscraper_client.getHtml('http://httpbin.org/ip', isScroll=True, scrollTimeout=1000) # 1000 Consider as milliseconds for scroll after 1000 milliseconds
print(response._content)
Do you need an expert?
Are you finding a developer for your world-class product? If yes, please contact here. Originally by QuickScraper Developers - app@quickscraper.co.
Metadata
Release files for quickscraper-sdk 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quickscraper_sdk-1.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / quickscraper_sdk-1.1.1-py3-none-any.whl
| Download URL | quickscraper_sdk-1.1.1-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
413d1ec546c800b778b214c6ec4cb06b4aa83251006704f4562b9c8999fa1c92
|
|
BLAKE2b-256 checksum How to use checksums |
c44712986fc7a6b0e8c26c8f3c3f04868ca7a9f8885c343a11b0405b6b6977c7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for quickscraper-sdk 1.1.1
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.