💂🏻♂️
A simple Azure Function to scrape and return text content of any url.
https://<function-app-name>.azurewebsites.net/api/invoke_scrapper?url=<any-url-you-wish-to-scrape>
If you wish to deploy everything as is in this repo
- Create an Azure Function App with the name:
scrapper-func
- Download the publish profile from Azure Portal
- Add a secret
AZURE_FUNCTIONAPP_PUBLISH_PROFILE
in your github repository and paste the content of publish profile as value of the secret - Push a commit to your repository.
- If everything goes as planned, Voila!
- Hit the url
https://scrapper-func.azurewebsites.net/api/invoke_scrapper?url=<replace-this-with-any-url-you-wish-to-scrape>
- If it's a success you should see a repsonse
{"status": 200, "content":<content-scrapped-from-your-url> }