Lines Matching refs:sites
49 def start_replay_server(args, sites, discard_output=True): argument
53 generate_injection(f, sites, args.refresh)
84 def generate_injection(f, sites, refreshes=0): argument
125 """, json.dumps(sites), """;
226 sites = []
234 sites.append(item)
240 sites.append({'url': line, 'timeout': args.timeout})
241 return sites
251 return [{'url': site, 'timeout': args.timeout} for site in args.sites]
254 sites = read_sites(args)
255 replay_server = start_replay_server(args, sites) if args.replay_wpr else None
259 for item in sites:
294 sites = read_sites(args)
297 for site in sites:
306 replay_server = start_replay_server(args, sites, discard_output=False)
698 if args.command == "run" and coexist(args.sites_file, args.sites):