Extracted AWS Lambda part of OGFetch
JavaScript
Latest commit c5e0ee9 Sep 25, 2015 @ptte ptte Merge pull request #1 from bloglovin/linkscraping
fixed product data and request tests

README.md

Metadataparser

The flow to update the Lambda method

  1. Do an npm install.
  2. When the dependencies has been installed, zip the folder into a zip-file where the folder itself is included. When Amazon unzips it the handler should be metadataparser/index.fetchBatch. One way to do this is to right-click the folder on OS X and chose to compress it.
  3. Go to the AWS Console for OGFetch and upload the zip-file.
  4. Done. It can take a short while for the new code to reach all the Lambda servers, but that's to be expected and something that happens on our own infrastructure as well.