{"id":41128173,"url":"https://github.com/foolishway/blog-crawler","last_synced_at":"2026-01-22T18:13:59.324Z","repository":{"id":127687232,"uuid":"272182290","full_name":"foolishway/blog-crawler","owner":"foolishway","description":"blog-crawler crawl blogs by your configuration file.","archived":false,"fork":false,"pushed_at":"2023-03-06T22:37:59.000Z","size":114,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-06-20T01:53:38.818Z","etag":null,"topics":["blogs","config","crawler"],"latest_commit_sha":null,"homepage":"","language":"Go","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/foolishway.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-14T10:48:16.000Z","updated_at":"2021-07-22T02:38:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"2c945624-7f3d-41db-b94c-ead13ba3a7a4","html_url":"https://github.com/foolishway/blog-crawler","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/foolishway/blog-crawler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolishway%2Fblog-crawler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolishway%2Fblog-crawler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolishway%2Fblog-crawler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolishway%2Fblog-crawler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foolishway","download_url":"https://codeload.github.com/foolishway/blog-crawler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foolishway%2Fblog-crawler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28667881,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T17:07:18.858Z","status":"ssl_error","status_checked_at":"2026-01-22T17:05:02.040Z","response_time":144,"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":["blogs","config","crawler"],"created_at":"2026-01-22T18:13:58.776Z","updated_at":"2026-01-22T18:13:59.319Z","avatar_url":"https://github.com/foolishway.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"blog-crawler 通过给定的配置文件，爬取指定的博客文章。每次爬取都是博主最新的文章。类似于\"订阅\"。\n\n**_tag 1.0.0_** 是命令行版本，命令行下运行blog-crawler，会把抓取到的文章信息输出到stdOut.\n\n用法：\n\n配置环境变量：_**BLOG_CRAWLER_CONF**_ 指向一个配置文件，配置文件格式如下：\n``` json\n{\n  \"blogs\": [{\n      \"address\": \"http://www.tracefact.net/\",\n      \"author\": \"张子阳\",\n      \"pageRule\": \"?page=1\",\n      \"postStyle\": \"div.article\",\n      \"titleStyle\": \"div.article .title a\"\n    },\n    {\n      \"address\": \"https://www.zhangxinxu.com/wordpress/\",\n      \"author\": \"张鑫旭\",\n      \"pageRule\": \"wordpress/page/2/\",\n      \"postStyle\": \"div.post\",\n      \"titleStyle\": \"div.post h2 a\",\n      \"timeStyle\": \"div.post .date\"\n    }]\n}\n```\n字段说明：\n* address 博客地址\n* author 作者\n* pageRule 分页规则\n* postStyle 文章列表样式\n* titleStyle 博客标题样式\n* timeStyle 博客发表时间样式\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoolishway%2Fblog-crawler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoolishway%2Fblog-crawler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoolishway%2Fblog-crawler/lists"}