Пример #1
0
    def _scaffold_run():
        if not os.path.exists(CHROMEDRIVER_PATH):
            logger.error(f"<ScaffoldGuider> ForceRun || ChromedriverNotFound ||"
                         f" 未查找到chromedriver驱动,请根据技术文档正确配置\n"
                         f">>> https://github.com/QIN2DIM/V2RayCloudSpider")
            return False

        logger.info(f"<ScaffoldGuider> Run || MainCollector")
        from src.BusinessCentralLayer.middleware.interface_io import SystemInterface as app
        app.run(deploy_=False)
Пример #2
0
 def _scaffold_panel():
     from src.BusinessCentralLayer.middleware.interface_io import SystemInterface
     SystemInterface.system_panel()
Пример #3
0
 def _scaffold_overdue():
     logger.info(f"<ScaffoldGuider> Overdue || Redis DDT")
     from src.BusinessCentralLayer.middleware.interface_io import SystemInterface as app
     app.ddt()
Пример #4
0
 def _scaffold_deploy():
     logger.info(f"<ScaffoldGuider> Deploy || MainProcess")
     from src.BusinessCentralLayer.middleware.interface_io import SystemInterface as app
     app.run(deploy_=True)
Пример #5
0
 def _scaffold_run():
     _ConfigQuarantine.check_config(call_driver=True)
     logger.info("<ScaffoldGuider> Run || MainCollector")
     from src.BusinessCentralLayer.middleware.interface_io import SystemInterface
     SystemInterface.run(deploy_=False)