Coder Social home page Coder Social logo

spyder's People

Contributors

rosner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spyder's Issues

Add a 'HOP' depth

Right now there is nothing like Heritrix' HOP-Depth in Spyder. That means it will crawl all URLs in the Crawl Scope no matter how many links it takes.

There are (many) areas where I want to set such a HOP depth.

Migrate the CouchDB Sink

In one of the internal crawler projects we have a CouchDB sink. Migrate this into Spyder itself.

Remove Mgmt sockets

All management stuff should be handled via the main socket instead of separate sockets.

Statistics

It would be very nice to have some kind of statistics.

Detect Woker failure

If a worker dies while processing a CrawlUri the Master may never notice that the specific CrawlUri has never finished. This could lead to problems especially when crawling many hosts, since the host is blocked from then on.

Correct handling of the credentials

Right now, the credentials are only added to newly extracted links when they are relative and there is no URL Tag in the HTML.

Credentials in the seeds should be handled correctly also with respect to the host path.

Sinks to the worker

Right now, the sinks are added in the master. This means, that all content is transfered to the master before stored using the sink. IMHO it would be better to add the sinks to the workers. Depending on your sink/storage this could mean more HTTP connections to the $DB but I consider this not to be my problem! :)

Integrate supervisord

At least the Workers and Log Sink should be supervised and automatically restarted. In addition rework the spyder.masterprocess and spyder.workerprocess to daemonize nicely.

Evaluate the ZeroMQ XREQ/XREP

Evaluate if working with XREQ/XREP is cleaner. It should remove at least one socket that is opened. If it is nicer, rework the Master and Worker to use those instead of the PUSH/PULL and PUB/SUB patterns.

Problem with MultiHostFrontier

There's a problem with datetime objects getting their way into the queues but that must not happen because the queue logic is based on times mktime and thus floats.

Reorganize the Processing classes

Create an Abstract class for processors that gives each processor a similar behaviour. This class should introduce a basic chain of decision methods that may determine if the given processor should work on the current CrawlUri.

Ideas for decision methods:

  • decide on mime type
  • decide on url
  • decide on HTTP status codes
  • ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.