DEV Community

Jordan Hansen
Jordan Hansen

Posted on • Originally published at javascriptwebscrapingguy.com on

Jordan Scrapes California, implemented into AWS Lambda and DynamoDB

Part two of the California Secretary of State business scraper. This takes the step to integrate it into AWS Lambda and DynamoDB.

I use 7zip to zip the package and upload it to Lambda. I had to add 7zip to the PATH but besides that, all you have to use is this script in your package.json (found here):

  "scripts": {
    "zip": "tsc && 7z a -r function.zip ./dist/* node_modules/",
    "sendToLambda": "npm run zip && aws lambda update-function-code --function-name oregon --zip-file fileb://function.zip"
  },
Enter fullscreen mode Exit fullscreen mode

Looking for business leads?

Using the techniques talked about here at javascriptwebscrapingguy.com, we’ve been able to launch a way to access awesome web data. Learn more at Cobalt Intelligence!

The post Jordan Scrapes California, implemented into AWS Lambda and DynamoDB appeared first on Javascript Web Scraping Guy.

Top comments (0)