Skip to content

Commit

Permalink
修改 runvalidator 验证 httpbin
Browse files Browse the repository at this point in the history
  • Loading branch information
awolfly9 committed Mar 10, 2017
1 parent 559f374 commit 4c7c0bd
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions runvalidator.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@
while True:
utils.log('----validator start time:%s...-' % datetime.datetime.now().strftime('%Y:%m:%d %H:%M:%S:%f'))

# items = scrapydo.run_spider(HttpBinSpider)
# utils.log('---validator finish:%s time:%s---' % (
# HttpBinSpider.name, datetime.datetime.now().strftime('%Y:%m:%d %H:%M:%S:%f')))
# time.sleep(10)
items = scrapydo.run_spider(HttpBinSpider)
utils.log('---validator finish:%s time:%s---' % (
HttpBinSpider.name, datetime.datetime.now().strftime('%Y:%m:%d %H:%M:%S:%f')))
time.sleep(10)

items = scrapydo.run_spider(BossSpider)
utils.log('---validator finish:%s time:%s---' % (
Expand All @@ -59,17 +59,6 @@
LiepinSpider.name, datetime.datetime.now().strftime('%Y:%m:%d %H:%M:%S:%f')))
time.sleep(10)

# items = scrapydo.run_spider(DoubanSpider)
# utils.log('----------------validator finish:%s time:%s-----------------------' % (
# DoubanSpider.name, datetime.datetime.now().strftime('%Y:%m:%d %H:%M:%S:%f')))

# items = scrapydo.run_spider(SteamSpider)
# utils.log('----------------validator finish:%s time:%s-----------------------' % (
# SteamSpider.name, datetime.datetime.now().strftime('%Y:%m:%d %H:%M:%S:%f')))

# items = scrapydo.run_spider(GatherSpider)
# items = scrapydo.run_spider(AssetStoreSpider)

utils.log('*************************validator waiting time:%s...*************************' %
datetime.datetime.now().strftime('%Y:%m:%d %H:%M:%S:%f'))

Expand Down

0 comments on commit 4c7c0bd

Please sign in to comment.