kovidgoyal / html5-parser

Fast C based HTML 5 parsing for python
Apache License 2.0
678 stars 33 forks source link

Any options to use on AWS Lambda? #9

Closed franchb closed 6 years ago

franchb commented 6 years ago

I want to make an HTML scraper periodically running as AWS Lambda function.

Is there any option to use html5-parser? I don't know how to manage pip install --no-binary lxml html5-parser and C99 on AWS Lambda...

kovidgoyal commented 6 years ago

No idea, I dont use AWS Lambda. Presumably you have to get whoever maintains the software on AWS Lambda to install html5-parser to make it available for use.

ppwfx commented 6 years ago

sure, you have to ship your dependencies with your lambda functions

maybe have a look into

https://serverless.com/blog/serverless-python-packaging/