Преглед изворни кода

Call start_parse_servers from crawl.py

tags/v1.0^2
Benjamin Attal пре 10 година
родитељ
комит
21cf52ea65
1 измењених фајлова са 3 додато и 0 уклоњено
  1. +3
    -0
      bitshift/crawler/crawl.py

+ 3
- 0
bitshift/crawler/crawl.py Прегледај датотеку

@@ -7,6 +7,7 @@ Contains functions for initializing all subsidiary, threaded crawlers.
import logging, logging.handlers, os, Queue

from bitshift.crawler import crawler, indexer
from bitshift.parser import parse, start_parse_servers

__all__ = ["crawl"]

@@ -32,6 +33,8 @@ def crawl():
for thread in threads:
thread.start()

parse_servers = start_parse_servers()

def _configure_logging():
# This isn't ideal, since it means the bitshift python package must be kept
# inside the app, but it works for now:


Loading…
Откажи
Сачувај