$ npm install
$ docker run --rm -v $(pwd):/var/task lambci/lambda:build-nodejs8.10
# if getting searchResults
$ docker run --rm -v $(pwd):/var/task lambci/lambda:nodejs8.10 index.handler '{"searchWord": "hoge hoge", "siteDomain": "example.com"}' | jq '.searchResults'
# if getting screenshot
$ docker run --rm -v $(pwd):/var/task lambci/lambda:nodejs8.10 index.handler '{"searchWord": "hoge hoge", "siteDomain": "example.com"}' | jq '.screenShot' | xxd -r -p > $(pwd)/image.png
-
Notifications
You must be signed in to change notification settings - Fork 4
chimame/search_ranking_checker_on_aws_lambda
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published