Lines Matching refs:sites
52 def start_replay_server(args, sites, discard_output=True): argument
56 generate_injection(f, sites, args.refresh)
87 def generate_injection(f, sites, refreshes=0): argument
128 """, json.dumps(sites), """;
233 sites = []
241 sites.append(item)
247 sites.append({'url': line, 'timeout': args.timeout})
248 return sites
258 return [{'url': site, 'timeout': args.timeout} for site in args.sites]
261 sites = read_sites(args)
262 replay_server = start_replay_server(args, sites) if args.replay_wpr else None
266 for item in sites:
301 sites = read_sites(args)
304 for site in sites:
313 replay_server = start_replay_server(args, sites, discard_output=False)
714 if args.command == "run" and coexist(args.sites_file, args.sites):