Skip to content

Latest commit

 

History

History
43 lines (25 loc) · 772 Bytes

api.rst

File metadata and controls

43 lines (25 loc) · 772 Bytes

Crawler Python API

Getting started with Crawler is easy. The main class you need to care about is crawler.main.Crawler

crawler.main.Crawler

from crawler.utils import should_ignore

>>> should_ignore(['blog/$'], 'http://ericholscher.com/blog/') True

>>> should_ignore(['home'], 'http://ericholscher.com/blog/') True

from crawler.utils import log