{"id":13393663,"url":"https://github.com/gocolly/colly","last_synced_at":"2026-10-18T21:06:17.497Z","repository":{"id":37927892,"uuid":"105279544","full_name":"gocolly/colly","owner":"gocolly","description":"Elegant Scraper and Crawler Framework for Golang","archived":false,"fork":false,"pushed_at":"2026-10-05T21:23:41.000Z","size":9699,"stargazers_count":25549,"open_issues_count":194,"forks_count":1861,"subscribers_count":315,"default_branch":"master","last_synced_at":"2026-10-11T10:51:46.757Z","etag":null,"topics":["crawler","crawling","framework","go","golang","scraper","scraping","spider"],"latest_commit_sha":null,"homepage":"https://go-colly.org/","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gocolly.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"claude":null,"gemini":null,"cursor":null,"copilot":null,"dco":null,"cla":null,"disclosure":null}},"created_at":"2017-09-29T14:08:49.000Z","updated_at":"2026-10-11T09:49:59.000Z","dependencies_parsed_at":"2026-09-24T03:37:12.863Z","dependency_job_id":null,"html_url":"https://github.com/gocolly/colly","commit_stats":{"total_commits":480,"total_committers":117,"mean_commits":4.102564102564102,"dds":0.5208333333333333,"last_synced_commit":"3c987f1982edbb5ba8876eef56dd35e1ff05932a"},"previous_names":["asciimoo/colly"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/gocolly/colly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocolly%2Fcolly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocolly%2Fcolly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocolly%2Fcolly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocolly%2Fcolly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gocolly","download_url":"https://codeload.github.com/gocolly/colly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocolly%2Fcolly/sbom","scorecard":{"id":211088,"data":{"date":"2025-08-11","repo":{"name":"github.com/gocolly/colly","commit":"d7e57a1eed687eb88a62302422dc38b63127a576"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.9,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 4 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/gocolly/colly/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/gocolly/colly/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/gocolly/colly/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:61: update your workflow using https://app.stepsecurity.io/secureworkflow/gocolly/colly/ci.yml/master?enable=pin","Warn: goCommand not pinned by hash: .github/workflows/ci.yml:67","Warn: downloadThenRun not pinned by hash: .github/workflows/ci.yml:82","Warn: goCommand not pinned by hash: .github/workflows/ci.yml:35","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned","Info:   2 out of   4 goCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-17T00:46:51.289Z","repository_id":37927892,"created_at":"2025-08-17T00:46:51.289Z","updated_at":"2025-08-17T00:46:51.289Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38341850,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-18T02:00:06.448Z","response_time":63,"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":["crawler","crawling","framework","go","golang","scraper","scraping","spider"],"created_at":"2024-07-30T17:00:58.265Z","updated_at":"2026-10-18T21:06:17.492Z","avatar_url":"https://github.com/gocolly.png","language":"Go","funding_links":["https://opencollective.com/colly"],"categories":["Go","Popular","开源类库","Misc","🕷️ Web Scraping Frameworks","others","Applications","Open source library","Uncategorized","Library","spider","Web","Core Libraries","Application Recommendation","Specific Formats","Text Processing","Golang","AI Scraping \u0026 Data Extraction","Bot Building","Repositories","Candidates to Review"],"sub_categories":["爬虫","Go","Crawlers","Uncategorized","Scraping and Crawling","🤖 Automation Tools","Scrapers","Scraper"],"readme":"# Colly\n\nLightning Fast and Elegant Scraping Framework for Gophers\n\nColly provides a clean interface to write any kind of crawler/scraper/spider.\n\nWith Colly you can easily extract structured data from websites, which can be used for a wide range of applications, like data mining, data processing or archiving.\n\n[![GoDoc](https://godoc.org/github.com/gocolly/colly?status.svg)](https://pkg.go.dev/github.com/gocolly/colly/v2)\n[![Backers on Open Collective](https://opencollective.com/colly/backers/badge.svg)](#backers) [![Sponsors on Open Collective](https://opencollective.com/colly/sponsors/badge.svg)](#sponsors) [![build status](https://github.com/gocolly/colly/actions/workflows/ci.yml/badge.svg)](https://github.com/gocolly/colly/actions/workflows/ci.yml)\n[![report card](https://img.shields.io/badge/report%20card-a%2B-ff3333.svg?style=flat-square)](http://goreportcard.com/report/gocolly/colly)\n[![view examples](https://img.shields.io/badge/learn%20by-examples-0077b3.svg?style=flat-square)](https://github.com/gocolly/colly/tree/master/_examples)\n[![Code Coverage](https://img.shields.io/codecov/c/github/gocolly/colly/master.svg)](https://codecov.io/github/gocolly/colly?branch=master)\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgocolly%2Fcolly.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgocolly%2Fcolly?ref=badge_shield)\n[![Twitter URL](https://img.shields.io/badge/twitter-follow-green.svg)](https://twitter.com/gocolly)\n\n\n## Sponsors\n\n### [NodeMaven](https://go.nodemaven.com/CollyreadmeSeptember): The most efficient proxy provider for Web Scrapping and Automation with the Highest Quality IP on the market.\n\nWhy [NodeMaven](https://go.nodemaven.com/CollyreadmeSeptember)?\n- 99.9% uptime\n- ZIP Targeting\n- IP filtering: all proxies have fraud score \u003c97%\n- No KYC required\n- Unique free tools: Proxy Bandwidth Checker, Meta Tag Checker, IP Lookup and others!\n\nSpecial codes for Colly users:\n- **COLLY35** - 35% off to Mobile and Residential Proxies\n- **COLLY40** - 40% off to ISP (Static) Proxies\n\n[![NodeMaven](assets/nodemaven.png)](https://go.nodemaven.com/CollyreadmeSeptember)\n\n\n### [SerpApi](https://serpapi.com/colly): Web Search API for your AI apps\n\nAccess real-time data from search engines such as Google, Bing, YouTube, Amazon, and more in structured JSON or Markdown results via a simple API\n\n[![SerpApi](assets/serpapi.png)](https://serpapi.com/colly)\n\n\n### [SX.ORG](https://sx.org/?c=COLLY): High-Speed High-Trust Proxies Built for Scraping \u0026 Automation at Any Scale\n\n- 240+ Locations to choose from\n- 120M+ IPs - Clean \u0026 Frequently Refreshed\n- All proxy types: mobile, residential, data-center\n- Extremely High-Trust - secure from bans\n- Flexible pricing –pay-as-you-goor unlimited trafficoptions\n\nFree trialfor new users - use promocode **COLLY** to claim 3GB of proxy\n\n[![SX.ORG](assets/sx.jpg)](https://sx.org/?c=COLLY)\n\n## Features\n\n-   Clean API\n-   Fast (\u003e1k request/sec on a single core)\n-   Manages request delays and maximum concurrency per domain\n-   Automatic cookie and session handling\n-   Sync/async/parallel scraping\n-   Caching\n-   Automatic encoding of non-unicode responses\n-   Robots.txt support\n-   Distributed scraping\n-   Configuration via environment variables\n-   Extensions\n\n## Example\n\n```go\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/gocolly/colly/v2\"\n)\n\nfunc main() {\n\tc := colly.NewCollector()\n\n\t// Find and visit all links\n\tc.OnHTML(\"a[href]\", func(e *colly.HTMLElement) {\n\t\te.Request.Visit(e.Attr(\"href\"))\n\t})\n\n\tc.OnRequest(func(r *colly.Request) {\n\t\tfmt.Println(\"Visiting\", r.URL)\n\t})\n\n\tc.Visit(\"http://go-colly.org/\")\n}\n```\n\nSee [examples folder](https://github.com/gocolly/colly/tree/master/_examples) for more detailed examples.\n\n## Installation\n\n`go get github.com/gocolly/colly/v2`\n\n\n## Bugs\n\nBugs or suggestions? Visit the [issue tracker](https://github.com/gocolly/colly/issues) or join `#colly` on freenode\n\n## Other Projects Using Colly\n\nBelow is a list of public, open source projects that use Colly:\n\n-   [greenpeace/check-my-pages](https://github.com/greenpeace/check-my-pages) Scraping script to test the Spanish Greenpeace web archive.\n-   [altsab/gowap](https://github.com/altsab/gowap) Wappalyzer implementation in Go.\n-   [jesuiscamille/goquotes](https://github.com/jesuiscamille/goquotes) A quotes scraper, making your day a little better!\n-   [jivesearch/jivesearch](https://github.com/jivesearch/jivesearch) A search engine that doesn't track you.\n-   [Leagify/colly-draft-prospects](https://github.com/Leagify/colly-draft-prospects) A scraper for future NFL Draft prospects.\n-   [lucasepe/go-ps4](https://github.com/lucasepe/go-ps4) Search playstation store for your favorite PS4 games using the command line.\n-   [yringler/inside-chassidus-scraper](https://github.com/yringler/inside-chassidus-scraper) Scrapes Rabbi Paltiel's web site for lesson metadata.\n-   [gamedb/gamedb](https://github.com/gamedb/gamedb) A database of Steam games.\n-   [lawzava/scrape](https://github.com/lawzava/scrape) CLI for email scraping from any website.\n-   [eureka101v/WeiboSpiderGo](https://github.com/eureka101v/WeiboSpiderGo) A sina weibo(chinese twitter) scraper\n-   [Go-phie/gophie](https://github.com/Go-phie/gophie) Search, Download and Stream movies from your terminal\n-   [imthaghost/goclone](https://github.com/imthaghost/goclone) Clone websites to your computer within seconds.\n-   [superiss/spidy](https://github.com/superiss/spidy) Crawl the web and collect expired domains.\n-   [docker-slim/docker-slim](https://github.com/docker-slim/docker-slim) Optimize your Docker containers to make them smaller and better.\n-   [seversky/gachifinder](https://github.com/seversky/gachifinder) an agent for asynchronous scraping, parsing and writing to some storages(elasticsearch for now)\n-   [eval-exec/goodreads](https://github.com/eval-exec/goodreads) crawl all tags and all pages of quotes from goodreads.\n\nIf you are using Colly in a project please send a pull request to add it to the list.\n\n## Contributors\n\nThis project exists thanks to all the people who contribute. [[Contribute]](CONTRIBUTING.md).\n\u003ca href=\"https://github.com/gocolly/colly/graphs/contributors\"\u003e\u003cimg src=\"https://opencollective.com/colly/contributors.svg?width=890\" /\u003e\u003c/a\u003e\n\n## Backers\n\nThank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/colly#backer)]\n\n\u003ca href=\"https://opencollective.com/colly#backers\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/colly/backers.svg?width=890\"\u003e\u003c/a\u003e\n\n## Sponsors\n\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/colly#sponsor)]\n\n\u003ca href=\"https://opencollective.com/colly/sponsor/0/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/colly/sponsor/0/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/colly/sponsor/1/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/colly/sponsor/1/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/colly/sponsor/2/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/colly/sponsor/2/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/colly/sponsor/3/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/colly/sponsor/3/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/colly/sponsor/4/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/colly/sponsor/4/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/colly/sponsor/5/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/colly/sponsor/5/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/colly/sponsor/6/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/colly/sponsor/6/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/colly/sponsor/7/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/colly/sponsor/7/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/colly/sponsor/8/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/colly/sponsor/8/avatar.svg\"\u003e\u003c/a\u003e\n\u003ca href=\"https://opencollective.com/colly/sponsor/9/website\" target=\"_blank\"\u003e\u003cimg src=\"https://opencollective.com/colly/sponsor/9/avatar.svg\"\u003e\u003c/a\u003e\n\n## License\n\n[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgocolly%2Fcolly.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgocolly%2Fcolly?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocolly%2Fcolly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgocolly%2Fcolly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocolly%2Fcolly/lists"}