You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
334 B
15 lines
334 B
# -*- 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()
|