Azure / azure-functions-host

The host/runtime that powers Azure Functions
https://functions.azure.com
MIT License
1.95k stars 442 forks source link

PhantomJS support #988

Open mikezks opened 8 years ago

mikezks commented 8 years ago

[Feature] request

PhantomJS support in Azure Functions would be great.

@christopheranderson: as I found no issue addressing this I take up this topic as suggested by you on Hacker News.

lindydonna commented 8 years ago

@mikezks Could you provide more details on what you tried and where it failed? Are you using a Consumption plan or a regular App Service Plan?

anthonychu commented 8 years ago

I tried using PhantomJS from a function a few months ago. Couldn't get it to work. I think it's blocked by the App Service sandbox.

https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#unsupported-frameworks

mikezks commented 8 years ago

@lindydonna: don't get this wrong. It was intended to be a feature request not an issue. As far as I know the main reason is the missing GDI support, but this is a bigger issue and I would assume not a high prio topic right now. Would be good to have this supported within Azure Functions some day.

christopheranderson commented 7 years ago

Currently blocked by sandbox limitations.

isaacrlevin commented 7 years ago

Is this Road Mapped at all? I would love to be able to use PhantomJS in Azure Functions!

thEpisode commented 7 years ago

One year later and we haven't PhantomJS in Azure Functions 😞

isaacrlevin commented 7 years ago

@thEpisode if you want to screenscrape, you can use this in a Function

https://github.com/AngleSharp/AngleSharp

thEpisode commented 7 years ago

@isaac2004 Is supported in azure?

isaacrlevin commented 7 years ago

@thEpisode I was able to get it to work running inside an Azure Function hosted in Azure. I use this to get the rendered source of a page and than Html Agility Pack to parse the document.

harleygomes commented 6 years ago

@isaac2004 have you a sample to share?