ryfeus / gcf-packs

Library packs for google cloud functions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gcf-packs

Library packs for google cloud functions

How to start

Upload ZIP directly to your cloud function or to Google Cloud Storage

Current packs

Selenium Chromium

Intro

Selenium on Chromium. In fact - a ready-made tool for web scraping. For example, the demo now opens a random page in Wikipedia and sends its header.

Useful for web testing and scraping.

Demo

Current demo opens random page from wiki (https://en.wikipedia.org/wiki/Special:Random) and prints title. Keep in mind that you have to unpack https://github.com/ryfeus/gcf-packs/blob/master/selenium_chrome/source/headless-chromium.zip before modifying your package (github doesn't allow to upload files bigger than 100 mb)

Documentation

https://selenium-python.readthedocs.io/

Used code and documentation

https://github.com/adieuadieu/serverless-chrome https://medium.com/clog/running-selenium-and-headless-chrome-on-aws-lambda-fb350458e4df

About

Library packs for google cloud functions


Languages

Language:Python 78.5%Language:C++ 20.6%Language:C 0.9%Language:Fortran 0.0%Language:CSS 0.0%Language:JavaScript 0.0%Language:Smarty 0.0%Language:CMake 0.0%