main.py 469 B

1234567891011121314151617
  1. #!/usr/bin/env python
  2. # -*- encoding: utf-8 -*-
  3. '''
  4. @Contact : liuyuqi.gov@msn.cn
  5. @Time : 2022/05/23 14:33:19
  6. @License : Copyright © 2017-2022 liuyuqi. All Rights Reserved.
  7. @Desc : 入口
  8. '''
  9. import time
  10. from crawl_ouchn.crawl_ouchn import CrawlOuchn
  11. if __name__ == '__main__':
  12. start_time=time.time()
  13. crawlOuchn = CrawlOuchn(configPath=r"config/config.json")
  14. crawlOuchn.crawl()
  15. print("last time: {} s".format(time.time() - start_time))