Skip to content

SDK to access Scrapeless API directly from Python. We handle Proxies, Scraping Browser, Scraping API, Web Unlocker and Captcha Solver for you.

Notifications You must be signed in to change notification settings

scrapeless-ai/scrapeless-sdk-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrapeless Python SDK

install

pip install scrapeless

Usage

Start using the API with your API KEY

For more examples, please refer to the examples directory

For more information, please refer to our documentation

Scraping API

from scrapeless import ScrapelessClient

scrapeless = ScrapelessClient(api_key='your-api-key')

actor = "scraper.shopee"
input_data = {
  "type": "shopee.product",
  "url": "https://shopee.tw/2312312.10228173.24803858474"
}

result = scrapeless.scraper(actor, input=input_data)

Web Unlocker

from scrapeless import ScrapelessClient

scrapeless = ScrapelessClient(api_key='your-api-key')

actor = 'unlocker.webunlocker'
input_data = {
  "url": "https://www.scrapeless.com",
  "proxy_country": "ANY",
  "method": "GET",
  "redirect": false,
}

result = scrapeless.unlocker(actor, input=input_data)

Captcha Solver

from scrapeless import ScrapelessClient

scrapeless = ScrapelessClient(api_key='your-api-key')

actor = 'captcha.recaptcha'
input_data = {
  "version": "v2",
  "pageURL": "https://www.google.com",
  "siteKey": "6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-",
  "pageAction": ""
}

result = scrapeless.solver_captcha(actor, input=input_data, timeout=10)

About

SDK to access Scrapeless API directly from Python. We handle Proxies, Scraping Browser, Scraping API, Web Unlocker and Captcha Solver for you.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages