{"id":19409609,"url":"https://github.com/tossmilestone/crawlgo","last_synced_at":"2025-02-25T02:19:34.035Z","repository":{"id":57505892,"uuid":"121356036","full_name":"tossmilestone/crawlgo","owner":"tossmilestone","description":"A crawler written in golang","archived":false,"fork":false,"pushed_at":"2020-04-19T14:11:26.000Z","size":179,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-07T14:46:29.506Z","etag":null,"topics":["cralwer","golang"],"latest_commit_sha":null,"homepage":null,"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/tossmilestone.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":"2018-02-13T08:14:50.000Z","updated_at":"2023-09-29T17:34:41.000Z","dependencies_parsed_at":"2022-09-26T17:51:48.770Z","dependency_job_id":null,"html_url":"https://github.com/tossmilestone/crawlgo","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tossmilestone%2Fcrawlgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tossmilestone%2Fcrawlgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tossmilestone%2Fcrawlgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tossmilestone%2Fcrawlgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tossmilestone","download_url":"https://codeload.github.com/tossmilestone/crawlgo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240587702,"owners_count":19825034,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cralwer","golang"],"created_at":"2024-11-10T12:12:24.189Z","updated_at":"2025-02-25T02:19:34.011Z","avatar_url":"https://github.com/tossmilestone.png","language":"Go","readme":"# Crawlgo ![Go](https://github.com/tossmilestone/crawlgo/workflows/Go/badge.svg) [![CircleCI](https://circleci.com/gh/tossmilestone/crawlgo.svg?style=shield)](https://circleci.com/gh/tossmilestone/crawlgo) [![Coverage Status](https://coveralls.io/repos/github/tossmilestone/crawlgo/badge.svg?branch=master)](https://coveralls.io/github/tossmilestone/crawlgo?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/tossmilestone/crawlgo)](https://goreportcard.com/report/github.com/tossmilestone/crawlgo)\n\nCrawlgo is a crawler written in golang, it aims to be an extensible, scalable and high-performance distributed crawler system.\n\nUsing `phantomjs`, crawlgo can crawl web pages rendered with javascript.\n\n## Prerequisite\n\n* Linux OS\n* phantomjs: `phantomjs` should be able to run through the env `PATH`. It can be downloaded [here](http://phantomjs.org/download.html).\n\n## Install\n\n```\ngo get github.com/tossmilestone/crawlgo\ncd ${GOPATH}/src/github.com/tossmilestone/crawlgo\nsudo make install\n```\n\nThe above commands will install `crawlgo` in `${GOPATH}/go/bin`.\n\n## Usage\n\n```\ncrawlgo [flags]\n\nFlags:\n      --download-selector string   The DOM selector to query the links that will be downloaded from the site\n      --enable-profile             enable profiling the program to start a pprof HTTP server on localhost:6360\n  -h, --help                       help for crawlgo\n      --save-dir string            The directory to save downloaded files. (default \"./crawlgo\")\n      --site string                The site to crawl\n      --version                    version for crawlgo\n      --workers int                The number of workers to run the crawl tasks. If no set, will be 'runtime.NumCPU()'\n```\n\nCrawlgo uses file name to identify the downloaded links. If the file of a link is existed in the save directory, the link will be assumed downloaded already.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftossmilestone%2Fcrawlgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftossmilestone%2Fcrawlgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftossmilestone%2Fcrawlgo/lists"}