Skip to content

remoteteamcom/scrape-it-serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scrape-it on ASW Lambda

This is a serverless application that runs scrape-it on AWS Lambda.

Install

git clone [email protected]:remoteteamcom/scrape-it-serverless.git
cd scrape-it-serverless
yarn
serverless deploy

Usage

curl -X POST -H 'Content-type: application/json' --data '{"url": "https://github.com/muhammet", "parser": { "name": ".vcard-names .p-name" , "bio": ".user-profile-bio div" , "avatar": { "selector": ".u-photo img" , "attr": "src" } }}' https://CHANNGE-ME.execute-api.us-east-1.amazonaws.com/prod/scraper/scrapeit

NOTES