nelsonic / arana

:honeybee: with great power comes great responsibility

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arana

arana crawls GitHub webpages for delicious data

Build Status Test Coverage Dependency Status devDependency Status

Why?

Why not...?!

What?

A spider.

arana diagram

How?

Work Queue

A list of the tasks that need to be performed next. The work-queue is stored as a Sorted Set where the timestamp (when the task was added to the work-queue) is the "score" and the value is the url that needs to be crawled.

redis-work-queue

[
  'https://github.com/dwyl 1438948333290',
  'https://github.com/orgs/dwyl/people 1438948467205',
  'https://github.com/dwyl/summer-2015 1438948491989'
]

See: http://redis.io/topics/data-types

Question: should we add all links on a page to the work queue immediately or only add links to the queue as we find them?
A: I think we need to add all related links to the queue immediately to ensure that we get content-complete as quickly as possible.

Use Sorted Sets to Implement a Queue? http://stackoverflow.com/a/8928885/1148249

### How Many Pages to Scroll Per Day?

Name?

see: https://www.google.pt/search?q=arana&tbm=isch

About

:honeybee: with great power comes great responsibility

License:GNU General Public License v2.0


Languages

Language:JavaScript 100.0%