def crawl_category(): """.. :py:method:: this method crawl the category .. note:: This method can not run concurrently, because I use a Queue to store category and url. """ from server import Server ss = Server() ss.crawl_category()
def crawl_category(): from server import Server ss = Server() ss.crawl_category()