Easy Web Scraping on AWS Lambda by node-lambda & Phantom.
$ yarn install
$ yarn setup
how to run
$ yarn start
how to deploy ※Setting up AWS-CLI configuration yet? see here
### for deplyment, overwrite your lambda role arn & region & function name(OS X example bellow)
$ sed -i '' 's/\(AWS_ROLE_ARN=\).*/\1<your_lambda_arn>/' .env
$ sed -i '' 's/\(AWS_REGION=\).*/\1<your_region>/' .env
$ sed -i '' 's/\(AWS_FUNCTION_NAME=\).*/\1<your_lambda_name>/' .env
$ yarn deploy
nothing
MIT