{"id":50795469,"url":"https://github.com/scrape-do/python-sample","last_synced_at":"2026-06-12T14:02:25.402Z","repository":{"id":277098551,"uuid":"676046968","full_name":"scrape-do/python-sample","owner":"scrape-do","description":"Best Rotating Proxy \u0026 Scraping API Alternative. Python Example.","archived":false,"fork":false,"pushed_at":"2023-08-08T10:06:09.000Z","size":123,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T05:44:56.554Z","etag":null,"topics":["capcha-solver","captcha","crawler","crawlers","data-mining","data-science","data-scraping","free","freeproxy","freeproxylist","proxy","proxy-list","rotating-proxy","scraper","scraping","scraping-api","scraping-tool","web-scrapers","web-scrapping"],"latest_commit_sha":null,"homepage":"https://scrape.do","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scrape-do.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-08T10:05:55.000Z","updated_at":"2023-12-19T02:33:33.000Z","dependencies_parsed_at":"2025-02-12T05:44:58.598Z","dependency_job_id":"d60bd15d-845c-4d77-b628-4fa4fa70bfa0","html_url":"https://github.com/scrape-do/python-sample","commit_stats":null,"previous_names":["scrape-do/python-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scrape-do/python-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrape-do%2Fpython-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrape-do%2Fpython-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrape-do%2Fpython-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrape-do%2Fpython-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scrape-do","download_url":"https://codeload.github.com/scrape-do/python-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrape-do%2Fpython-sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34247461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["capcha-solver","captcha","crawler","crawlers","data-mining","data-science","data-scraping","free","freeproxy","freeproxylist","proxy","proxy-list","rotating-proxy","scraper","scraping","scraping-api","scraping-tool","web-scrapers","web-scrapping"],"created_at":"2026-06-12T14:02:23.598Z","updated_at":"2026-06-12T14:02:25.394Z","avatar_url":"https://github.com/scrape-do.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scrape.do python-sample\n\n\u003cp align=\"center\" style=\"background-color:white;\" \u003e\n    \u003cimg src=\"https://scrape.do/images/scrape-logo.svg\" alt=\"scrape.do\" width=\"200\"\u003e\n\u003c/p\u003e\n\nWeb Scraper API\n\n- Best Rotating Proxy \u0026 [Scraping API](https://scrape.do/) Alternative.\n- :warning: Please read the [documents](https://scrape.do/docs/getting-started) first.\n\n#### You can send request to any webpages with proxy gateway \u0026 web api provided by scrape.do. As you can see from the example, this takes only few lines of code\n\n#### You can see Example here ([test.py](/test.py))\n\n## Usage\n\nfirst you need to create python_sample as [python-sample](/python_sample_scrape_do/__init__.py)\n\nand use python_sample class to handle scrape.do api's\n\n    from python_sample_scrape_do import Scrape_do_Exception, python_sample\n\n    API_TOKEN = \"Your_API_TOKEN_FOR_scrape.do\"\n\n    # create an python-sample object\n    sample = python_sample()\n\n    # set the scrape.do api key\n    sample.set_api_token(api_token=API_TOKEN)\n\n    # Get Scrape.do account statistics\n    try:\n        resp = sample.account_status()\n        print(\"Response Type \" + str(type(resp)))\n        print(resp)\n    except ConnectionError as e:\n        print(str(e))\n        print(traceback.format_exc())\n\n    except Scrape_do_Exception as e:\n        print(str(e))\n        print(traceback.format_exc())\n\n    try:\n        resp = sample.create_request_url(url='https://docs.scrape.do/', method=\"GET\", payload={}, headers={},\n                                         render=False, super_proxies=False, geo_code=None)\n        print(resp)\n    except ConnectionError as e:\n        print(str(e))\n        print(traceback.format_exc())\n\n    except Scrape_do_Exception as e:\n        print(str(e))\n        print(traceback.format_exc())\n\n### Screenshot\n\n\u003cbr/\u003e\n\n![python-sample](python_sample.png)\n\n\u003cbr/\u003e\u003cbr/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrape-do%2Fpython-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrape-do%2Fpython-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrape-do%2Fpython-sample/lists"}