How to save PDF from a site in Azure Functions?

1

I'm developing an application where I'll have to do a crawler on a specific site.

The application will contain an endpoint for an Azure Function where the crawler will capture.

So far so good, though, we'll have to salvage evidence that the crawler went through the site. We are thinking of saving a PDF with the capture screen, but as specified in the Azure Functions documentation, Selenium (which would be a good alternative) or PhantomJS does not work.

Another approach would be to download the whole site content in HTML and somehow process the HTML to generate a PDF with what the crawler viewed.

I would like to know if there is any library that works in Azure Functions to capture some URLs and save them in PDF.

Thank you.

    
asked by anonymous 16.07.2018 / 15:02

0 answers