Skip to main content

A Distributed Web Crawler System in Python

Project description

.. fulmar documentation master file, created by
sphinx-quickstart on Tue Aug 2 14:19:45 2016.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.


Fulmar is a distributed crawler system. By using non-blocking network I/O,
Fulmar can handle hundreds of open connections at the same time. You can
extractthe data you need from websites. In a fast, simple, yet extensible way.

Quick links

* `Source (github) <>`_
* `Wiki <>`_

Code example

Here is a simple example::

import logging

from fulmar.base_spider import BaseSpider

logger = logging.getLogger(__name__)

class Handler(BaseSpider):
def on_start(self):
self.crawl('', callback=self.detail_page)

def detail_page(self, response):
page_lxml = response.page_lxml
except Exception as e:

return {
"url": response.url,
"title": page_lxml.xpath('//title/text()')[0]}

You can save above code in a new file called `` and run in console::

fulmar start_project

If you have installed `redis`, you will get::

Successfully start the project, project name: "baidu_spider".

Finally, start Fulmar::

fulmar all


**Automatic installation**::

pip install fulmar

Fulmar is listed in `PyPI <>`_ and
can be installed with ``pip`` or ``easy_install``. Note that the
source distribution includes demo applications that are not present
when Tornado is installed in this way, so you may wish to download a
copy of the source tarball as well.

**Manual installation**: Download tarball, then:

.. parsed-literal::

tar xvzf fulmar-|version|.tar.gz
cd fulmar-|version|
python build
sudo python install

The Fulmar source code is `hosted on GitHub

**Prerequisites**: Fulmar runs on Python 2.7, and 3.3+
For Python 2, version 2.7.9 or newer is *strongly*
recommended for the improved SSL support.


This documentation is also available in `PDF and Epub formats

.. toctree::
:maxdepth: 2


* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
fulmar-0.0.2.tar.gz (27.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page