{"id":18828761,"url":"https://github.com/sieep-coding/web-crawler","last_synced_at":"2026-03-09T01:32:52.748Z","repository":{"id":236835480,"uuid":"793245953","full_name":"Sieep-Coding/web-crawler","owner":"Sieep-Coding","description":"A simple web crawler implemented in Go.","archived":false,"fork":false,"pushed_at":"2024-04-30T19:55:05.000Z","size":10621,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T00:46:14.394Z","etag":null,"topics":["crawler","go","golang","web-crawler"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sieep-Coding.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-28T20:20:21.000Z","updated_at":"2024-07-30T20:08:22.000Z","dependencies_parsed_at":"2024-11-08T01:36:46.490Z","dependency_job_id":"756e6a18-d27b-4e77-b654-0ab47d0b8773","html_url":"https://github.com/Sieep-Coding/web-crawler","commit_stats":null,"previous_names":["sieep-coding/web-crawler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sieep-Coding/web-crawler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sieep-Coding%2Fweb-crawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sieep-Coding%2Fweb-crawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sieep-Coding%2Fweb-crawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sieep-Coding%2Fweb-crawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sieep-Coding","download_url":"https://codeload.github.com/Sieep-Coding/web-crawler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sieep-Coding%2Fweb-crawler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30279777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"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","go","golang","web-crawler"],"created_at":"2024-11-08T01:36:11.637Z","updated_at":"2026-03-09T01:32:52.711Z","avatar_url":"https://github.com/Sieep-Coding.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## See it in action\n\n![](https://github.com/Sieep-Coding/web-crawler/blob/main/gif.gif)\n\n\n\u003c!DOCTYPE html\u003e\n\u003chtml lang=\"en\"\u003e\n\u003chead\u003e\n\u003cmeta charset=\"UTF-8\"\u003e\n\u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\u003ch1\u003eGo Web Crawler\u003c/h1\u003e\n\u003cp\u003eThis is a concurrent web crawler implemented in Go.\nIt allows you to crawl websites, extract links, and scrape specific data from the visited pages.\u003c/p\u003e\n\u003ch2\u003eFeatures\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003eCrawls web pages concurrently using goroutines\u003c/li\u003e\n\u003cli\u003eExtracts links from the visited pages\u003c/li\u003e\n\u003cli\u003eScrapes data such as page title, meta description, meta keywords, headings, paragraphs, image URLs, external links, and table data from the visited pages\u003c/li\u003e\n\u003cli\u003eSupports configurable crawling depth\u003c/li\u003e\n\u003cli\u003eHandles relative and absolute URLs\u003c/li\u003e\n\u003cli\u003eTracks visited URLs to avoid duplicate crawling\u003c/li\u003e\n\u003cli\u003eProvides timing information for the crawling process\u003c/li\u003e\n\u003cli\u003eSaves the extracted data in a well-formatted CSV file\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eInstallation\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eMake sure you have Go installed on your system. You can download and install Go from the official website: \u003ca href=\"https://golang.org\"\u003ehttps://golang.org\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003eClone this repository to your local machine:\n\u003cpre\u003e\u003ccode\u003egit clone https://github.com/sieep-coding/web-crawler.git\u003c/code\u003e\u003c/pre\u003e\n\u003c/li\u003e\n\u003cli\u003eNavigate to the project directory:\n\u003cpre\u003e\u003ccode\u003ecd web-crawler\u003c/code\u003e\u003c/pre\u003e\n\u003c/li\u003e\n\u003cli\u003eInstall the required dependencies:\n\u003cpre\u003e\u003ccode\u003ego mod download\u003c/code\u003e\u003c/pre\u003e\n\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch2\u003eUsage\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eOpen a terminal and navigate to the project directory.\u003c/li\u003e\n\u003cli\u003eRun the following command to start the web crawler:\n\u003cpre\u003e\u003ccode\u003ego run main.go \u0026lt;url\u0026gt;\u003c/code\u003e\u003c/pre\u003e\nReplace \u003ccode\u003e\u0026lt;url\u0026gt;\u003c/code\u003e with the URL you want to crawl.\n\u003c/li\u003e\n\u003cli\u003eWait for the crawling process to complete. The crawler will display the progress and timing information in the terminal.\u003c/li\u003e\n\u003cli\u003eOnce the crawling is finished, the extracted data will be saved in a CSV file named \u003ccode\u003ecrawl_results.csv\u003c/code\u003e in the project directory.\u003c/li\u003e\n\u003c/ol\u003e\n\u003ch2\u003eCustomization\u003c/h2\u003e\n\u003cp\u003eYou can customize the web crawler according to your needs:\u003c/p\u003e\n\u003cul\u003e\n\u003cli\u003eModify the \u003ccode\u003eprocessPage\u003c/code\u003e function in \u003ccode\u003ecrawler/page.go\u003c/code\u003e to extract additional data from the visited pages using the \u003ccode\u003egoquery\u003c/code\u003e package.\u003c/li\u003e\n\u003cli\u003eExtend the \u003ccode\u003eCrawler\u003c/code\u003e struct in \u003ccode\u003ecrawler/crawler.go\u003c/code\u003e to include more fields for storing extracted data.\u003c/li\u003e\n\u003cli\u003eCustomize the CSV file generation in \u003ccode\u003emain.go\u003c/code\u003e to match your desired format.\u003c/li\u003e\n\u003cli\u003eImplement rate limiting to avoid overloading the target website.\u003c/li\u003e\n\u003cli\u003eAdd support for handling robots.txt and respecting crawling restrictions.\u003c/li\u003e\n\u003cli\u003eIntegrate the crawler with a database or file storage to persist the extracted data.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eLicense\u003c/h2\u003e\n\u003cp\u003eThis project is licensed under the \u003ca href=\"LICENSE\"\u003eUNLICENSE\u003c/a\u003e.\u003c/p\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsieep-coding%2Fweb-crawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsieep-coding%2Fweb-crawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsieep-coding%2Fweb-crawler/lists"}