{"id":50795488,"url":"https://github.com/scrape-do/dotnet-example","last_synced_at":"2026-06-12T14:02:26.499Z","repository":{"id":186962497,"uuid":"676061585","full_name":"scrape-do/dotnet-example","owner":"scrape-do","description":"Best Rotating Proxy \u0026 Scraping API Alternative. C# Example.","archived":false,"fork":false,"pushed_at":"2023-08-08T11:02:13.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-08-08T12:43:54.531Z","etag":null,"topics":["captcha","captcha-solver","crawler","crawlers","crawling","data-mining","data-science","data-scraping","free","free-proxy","free-proxy-list","proxy","proxy-list","proxylist","rotating-proxy","scraper","scraping","scraping-api","scraping-tool"],"latest_commit_sha":null,"homepage":"https://scrape.do","language":"C#","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}},"created_at":"2023-08-08T10:49:34.000Z","updated_at":"2023-08-08T12:43:56.580Z","dependencies_parsed_at":"2023-08-08T12:43:56.462Z","dependency_job_id":"3d598f8a-fc3a-4351-bab9-d79418636116","html_url":"https://github.com/scrape-do/dotnet-example","commit_stats":null,"previous_names":["scrape-do/dotnet-example"],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/scrape-do/dotnet-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrape-do%2Fdotnet-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrape-do%2Fdotnet-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrape-do%2Fdotnet-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrape-do%2Fdotnet-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scrape-do","download_url":"https://codeload.github.com/scrape-do/dotnet-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scrape-do%2Fdotnet-example/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":["captcha","captcha-solver","crawler","crawlers","crawling","data-mining","data-science","data-scraping","free","free-proxy","free-proxy-list","proxy","proxy-list","proxylist","rotating-proxy","scraper","scraping","scraping-api","scraping-tool"],"created_at":"2026-06-12T14:02:24.788Z","updated_at":"2026-06-12T14:02:26.490Z","avatar_url":"https://github.com/scrape-do.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Scrape.do C# Example\n\n\u003cp align=\"center\"\u003e\n    \u003cimg style=\"background-color:white;\" src=\"https://scrape.do/images/scrape-logo.svg\" alt=\"scrape.do\" width=\"200\"\u003e\n\u003c/p\u003e\n\n### Web Scraper API\n\n- Best Rotating Proxy \u0026 [Scraping API](https://scrape.do) Alternative.\n- ⚠ Please read the [documents](https://docs.scrape.do) 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 in example ([Program.cs](/Program.cs))\n\n```C#\nprivate static string CreateRequestUrl(string targetUrl) {\n\tif (string.IsNullOrEmpty(_apiToken)) throw new Exception(\"API_TOKEN cannot be empty!\");\n\n\tstring url = $ \"http://api.scrape.do?token={_apiToken}\";\n\n\tif (_jsRender) url += \"\u0026render=true\";\n\tif (_superProxy) url += \"\u0026super=true\";\n\tif (!string.IsNullOrEmpty(_geoCode)) url += $ \"\u0026geoCode={_geoCode}\";\n\tif (!string.IsNullOrEmpty(_session)) url += $ \"\u0026session={_session}\";\n\n\treturn $ \"{url}\u0026url={targetUrl}\";\n}\n```\n\n```C#\nstatic void Main(string[] args) {\n\n\tHttpClientHandler handler = new HttpClientHandler() {\n\t\tAutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate\n\t};\n\n\tvar client = new HttpClient(handler);\n\n\tstring requestUrl = CreateRequestUrl(\"https://example.com\");\n\tvar response = client.GetAsync(requestUrl).Result;\n\n\tConsole.WriteLine(\"Status Code : {0} \", response.StatusCode);\n\tConsole.WriteLine(\"HTML : \\n{0}\", response.Content.ReadAsStringAsync().Result);\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrape-do%2Fdotnet-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrape-do%2Fdotnet-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrape-do%2Fdotnet-example/lists"}