solrawler is a simple python based web crawler for SOLR. It uses the following python packages:
It is designed to be run inside docker. There are two environment variables to configure solrawler:
SOLRAWLER_SOLR - the SOLR API url including the core (default: http://solr:8983/solr/solrawler)SOLRAWLER_WAIT - wait time in seconds between crawling runs, used by entrypoint (default: 8400s)You need to supply spider classes implementation to make the web crawler work:
__init__.py fileimport scrapy
from solrawler.common import CommonSpider
class FiaskoSpider(CommonSpider):
name = 'fiasko'
allowed_domains = ['fiasko.io']
start_urls = ['https://fiasko.io/']
Take a look at the supplied docker-compose.yml file howto run solrawler.
Content type
Image
Digest
Size
34.2 MB
Last updated
about 7 years ago
docker pull liske/solrawler