Skip to content

基于 RabbitMQ 中间件的爬虫的 Ruby 实现 [Developing]

License

Notifications You must be signed in to change notification settings

w-zengtao/rb-spider

Repository files navigation

Spider

Maintainability codebeat badge Build Status

Docs

Install

gem install spider -s https://github.com/w-zengtao/rb-spider

Development

The gem is available as open source under the terms of the MIT License.

What I am doing ...

  • Confused by how to design the Timer

    # it seems that this is not a good way
    
    def interval seconds
      loop do
        sleep seconds
      end
    end
    
    interval do
      puts 'the code'
    end
    # And then use a thread to polling redis seems good
  • Create the Task class to extend our mission

By every commit, I record my thinking about evolution of this gem

About

基于 RabbitMQ 中间件的爬虫的 Ruby 实现 [Developing]

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published