script to lookup webpages from a domain or list of domains from the index and copy them to s3