소스 검색

Call start_parse_servers from crawl.py

tags/v1.0^2
Benjamin Attal 12 년 전
부모
커밋
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 import logging, logging.handlers, os, Queue


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


__all__ = ["crawl"] __all__ = ["crawl"]


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


parse_servers = start_parse_servers()

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


불러오는 중...
취소
저장