import personal_data.main import argparse def parse_arguments(): parser = argparse.ArgumentParser() parser.add_argument('fetchers', metavar='FETCHER', type=str, nargs='+') return parser.parse_args() def main(): args = parse_arguments() scraper_filter = frozenset(args.fetchers) personal_data.main.main(scraper_filter) if __name__ == '__main__': main()