Ejemplo n.º 1
0
def main():

    tp = ThreadPool(10)
    crawler = Crawler(tp)
    crawler.work()
Ejemplo n.º 2
0
def main():
    tp = GeventPool(10)
    crawler = Crawler(tp)
    crawler.work()