{"id":19130310,"url":"https://github.com/w-zengtao/rb-spider","last_synced_at":"2025-05-06T01:08:04.930Z","repository":{"id":83281700,"uuid":"143538755","full_name":"w-zengtao/rb-spider","owner":"w-zengtao","description":"基于 RabbitMQ 中间件的爬虫的 Ruby 实现 [Developing]","archived":false,"fork":false,"pushed_at":"2018-10-09T12:56:59.000Z","size":30,"stargazers_count":13,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-06T01:07:59.953Z","etag":null,"topics":["rabbitmq","redis","ruby","spider"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/w-zengtao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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}},"created_at":"2018-08-04T15:05:06.000Z","updated_at":"2022-03-03T11:23:40.000Z","dependencies_parsed_at":"2023-03-02T05:45:26.084Z","dependency_job_id":null,"html_url":"https://github.com/w-zengtao/rb-spider","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-zengtao%2Frb-spider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-zengtao%2Frb-spider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-zengtao%2Frb-spider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w-zengtao%2Frb-spider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w-zengtao","download_url":"https://codeload.github.com/w-zengtao/rb-spider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252601887,"owners_count":21774664,"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":["rabbitmq","redis","ruby","spider"],"created_at":"2024-11-09T06:10:14.180Z","updated_at":"2025-05-06T01:08:04.924Z","avatar_url":"https://github.com/w-zengtao.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Spider\n [![Maintainability](https://api.codeclimate.com/v1/badges/a99a88d28ad37a79dbf6/maintainability)](https://codeclimate.com/github/codeclimate/codeclimate/maintainability) [![codebeat badge](https://codebeat.co/badges/28939564-2b04-4d35-8640-984adf16290d)](https://codebeat.co/projects/github-com-w-zengtao-rb-spider-master) [![Build Status](https://www.travis-ci.org/w-zengtao/rb-spider.svg?branch=master)](https://www.travis-ci.org/w-zengtao/rb-spider)\n\n\n## Docs\n* [EN](https://github.com/w-zengtao/rb-spider/blob/master/docs/README_CN.md)\n* [中文](https://github.com/w-zengtao/rb-spider/blob/master/docs/README_CN.md)\n\n## Install\n\n```bash\ngem install spider -s https://github.com/w-zengtao/rb-spider\n```\n\n## Development\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n\n## What I am doing ...\n\n* Confused by how to design the `Timer` \n\n  ```ruby\n  # it seems that this is not a good way\n \n  def interval seconds\n    loop do\n      sleep seconds\n    end\n  end\n\n  interval do\n    puts 'the code'\n  end\n  ```\n\n  ```ruby\n  # And then use a thread to polling redis seems good\n  ```\n\n* Create the `Task` class to extend our mission\n\nBy every commit, I record my thinking about evolution of this gem\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw-zengtao%2Frb-spider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw-zengtao%2Frb-spider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw-zengtao%2Frb-spider/lists"}