{"id":16906247,"url":"https://github.com/ernesto-jimenez/crawler","last_synced_at":"2026-02-14T18:31:37.757Z","repository":{"id":57603838,"uuid":"80156730","full_name":"ernesto-jimenez/crawler","owner":"ernesto-jimenez","description":"Easily crawl websites in Go.","archived":false,"fork":false,"pushed_at":"2018-10-05T20:49:19.000Z","size":28,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-30T12:42:19.574Z","etag":null,"topics":["crawler","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ernesto-jimenez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-26T21:20:50.000Z","updated_at":"2025-04-12T20:17:55.000Z","dependencies_parsed_at":"2022-09-12T23:13:48.746Z","dependency_job_id":null,"html_url":"https://github.com/ernesto-jimenez/crawler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ernesto-jimenez/crawler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernesto-jimenez%2Fcrawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernesto-jimenez%2Fcrawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernesto-jimenez%2Fcrawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernesto-jimenez%2Fcrawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ernesto-jimenez","download_url":"https://codeload.github.com/ernesto-jimenez/crawler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernesto-jimenez%2Fcrawler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29452371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T15:52:44.973Z","status":"ssl_error","status_checked_at":"2026-02-14T15:52:11.208Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","golang"],"created_at":"2024-10-13T18:41:53.761Z","updated_at":"2026-02-14T18:31:37.741Z","avatar_url":"https://github.com/ernesto-jimenez.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# crawler\n\n[![GoDoc](https://godoc.org/github.com/ernesto-jimenez/crawler?status.svg)](https://godoc.org/github.com/ernesto-jimenez/crawler)\n[![Build Status](https://travis-ci.org/ernesto-jimenez/crawler.svg?branch=master)](https://travis-ci.org/ernesto-jimenez/crawler)\n[![Go Report Card](https://goreportcard.com/badge/ernesto-jimenez/crawler)](https://goreportcard.com/ernesto-jimenez/crawler)\n\nA simple package to quickly build programs that require crawling websites.\n\n```\ngo get github.com/ernesto-jimenez/crawler\n```\n\n\n## Usage\n\n[embedmd]:# (example_crawler_test.go /func Example/ $)\n```go\nfunc Example() {\n\tstartURL := \"https://godoc.org\"\n\n\tcr, err := crawler.New()\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\n\terr = cr.Crawl(startURL, func(url string, res *crawler.Response, err error) error {\n\t\tif err != nil {\n\t\t\tfmt.Printf(\"error: %s\", err.Error())\n\t\t\treturn nil\n\t\t}\n\t\tfmt.Printf(\"%s - Links: %d Assets: %d\\n\", url, len(res.Links), len(res.Assets))\n\t\treturn crawler.ErrSkipURL\n\t})\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\t// Output:\n\t// https://godoc.org/ - Links: 39 Assets: 5\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernesto-jimenez%2Fcrawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fernesto-jimenez%2Fcrawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernesto-jimenez%2Fcrawler/lists"}