def site_screenshot(self): '''***站点截图***''' capture_sites = self.site_list + self.site_302_list capture_save_dir = Config.SCREENSHOT_DIR + "/" + self.task_id services.site_screenshot(capture_sites, concurrency=6, capture_dir=capture_save_dir)
def site_screenshot(): sites = [ "https://www.baidu.com", 'https://www.dogedoge.com/results?q=%22docker+hub%22&a=1' ] services.site_screenshot(sites)