# -*- coding: utf-8 -*- import middlewares import time def milkSpider(): if middlewares.precheck(): start_time = time.time() middlewares.mainThread() print("Totally spend " + str(round(time.time() - start_time, 2)) + " secends") print("milkSpider done.") if __name__ == "__main__": milkSpider()