# Scrapeless Python SDK
## install
```shell
pip install scrapeless
```
## Usage
Start using the API with your [API KEY](https://app.scrapeless.com/dashboard/account?tab=apiKey)
For more examples, please refer to the `examples` directory
For more information, please refer to our [documentation](https://docs.scrapeless.com/)
### Scraping API
```python
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
```python
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
```python
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.captcha(actor, input=input_data)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/scrapeless-ai/scrapeless-sdk-python",
"name": "scrapeless",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "scrapeless, browserless, scraping browser, scraping, web unlocker, captcha solver, rotate proxy",
"author": "scrapelessteam",
"author_email": "scrapelessteam@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/41/71/ee091beb435128cf64e085626ca659d25a2621be2ea69a2a376b1b5887f6/scrapeless-0.0.2.tar.gz",
"platform": null,
"description": "# Scrapeless Python SDK\n\n## install\n```shell\npip install scrapeless\n```\n\n## Usage\n\nStart using the API with your [API KEY](https://app.scrapeless.com/dashboard/account?tab=apiKey)\n\nFor more examples, please refer to the `examples` directory\n\nFor more information, please refer to our [documentation](https://docs.scrapeless.com/)\n\n### Scraping API\n```python\nfrom scrapeless import ScrapelessClient\n\nscrapeless = ScrapelessClient(api_key='your-api-key')\n\nactor = \"scraper.shopee\"\ninput_data = {\n \"type\": \"shopee.product\",\n \"url\": \"https://shopee.tw/2312312.10228173.24803858474\"\n}\n\nresult = scrapeless.scraper(actor, input=input_data)\n```\n\n### Web Unlocker\n```python\nfrom scrapeless import ScrapelessClient\n\nscrapeless = ScrapelessClient(api_key='your-api-key')\n\nactor = 'unlocker.webunlocker'\ninput_data = {\n \"url\": \"https://www.scrapeless.com\",\n \"proxy_country\": \"ANY\",\n \"method\": \"GET\",\n \"redirect\": false,\n}\n\nresult = scrapeless.unlocker(actor, input=input_data)\n```\n\n### Captcha Solver\n```python\nfrom scrapeless import ScrapelessClient\n\nscrapeless = ScrapelessClient(api_key='your-api-key')\n\nactor = 'captcha.recaptcha'\ninput_data = {\n \"version\": \"v2\",\n \"pageURL\": \"https://www.google.com\",\n \"siteKey\": \"6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-\",\n \"pageAction\": \"\"\n}\n\nresult = scrapeless.captcha(actor, input=input_data)\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "scrapeless python sdk",
"version": "0.0.2",
"project_urls": {
"Documentation": "https://github.com/scrapeless-ai/scrapeless-sdk-python#readme",
"Homepage": "https://github.com/scrapeless-ai/scrapeless-sdk-python",
"Source": "https://github.com/scrapeless-ai/scrapeless-sdk-python"
},
"split_keywords": [
"scrapeless",
" browserless",
" scraping browser",
" scraping",
" web unlocker",
" captcha solver",
" rotate proxy"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7cab434c6a866d5f03e2f6bd736ae08565855a659289ba996ec54700cead734a",
"md5": "0ba2342d964d9574a9caa21dc8c3755e",
"sha256": "a45742ef8b0f1b263770ba4460134e13422a0289d61da35b539b955c28e10d6d"
},
"downloads": -1,
"filename": "scrapeless-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0ba2342d964d9574a9caa21dc8c3755e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2777,
"upload_time": "2024-12-16T02:18:44",
"upload_time_iso_8601": "2024-12-16T02:18:44.697485Z",
"url": "https://files.pythonhosted.org/packages/7c/ab/434c6a866d5f03e2f6bd736ae08565855a659289ba996ec54700cead734a/scrapeless-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4171ee091beb435128cf64e085626ca659d25a2621be2ea69a2a376b1b5887f6",
"md5": "f6fa6110cdcd8ce0914f076199b80f83",
"sha256": "1aab566182ed8716edd6aa2cb65961dba09639fb5a1bc66c0677258d4944daa9"
},
"downloads": -1,
"filename": "scrapeless-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "f6fa6110cdcd8ce0914f076199b80f83",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3168,
"upload_time": "2024-12-16T02:18:47",
"upload_time_iso_8601": "2024-12-16T02:18:47.039742Z",
"url": "https://files.pythonhosted.org/packages/41/71/ee091beb435128cf64e085626ca659d25a2621be2ea69a2a376b1b5887f6/scrapeless-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-16 02:18:47",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "scrapeless-ai",
"github_project": "scrapeless-sdk-python",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "scrapeless"
}