16 lines
373 B
Python
16 lines
373 B
Python
import personal_data
|
|
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(scraper_filter)
|
|
|
|
if __name__ == '__main__':
|
|
main()
|