Giter VIP home page Giter VIP logo

scf-headless-chrome's Introduction

Headless Chrome on SCF  

中文文档

Headless chrome running on tencent serverless cloud function

with Serverless, Tencent SCF, Headless Chrome and Selenium!

How to run this project

git clone https://github.com/LeiShi1313/scf-headless-chrome.git
cd scf-headless-chrome
wget -O chromedriver/headless-chromium-tencent https://github.com/LeiShi1313/scf-headless-chrome/releases/download/v1.0.0/headless-chromium-tencent
npm install
pip install -r requirements.txt -t .
sls deploy

and that's it, 🎉🎉🎉

scf-headless-chrome's People

Contributors

dependabot[bot] avatar leishi1313 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

scf-headless-chrome's Issues

有遇到过 exited abnormally报错的吗?

正常部署,运行报错 Message: 'unknown error: Chrome failed to start: exited abnormally\n (Driver info: chromedriver=2.37.544315 (730aa6a5fdba159ac9f4c1e8cbc59bf1b5ce12b7),platform=Linux 4.4.208-1.el7.elrepo.x86_64 x86_64)' ","statusCode":430}

ChromeDriver executable needs

selenium.common.exceptions.WebDriverException: Message: 'ChromeDriver executable needs to be available in the path.
QQ截图20201108160026
这个问题我在windows上也碰到了,指定driver路径会报这个错,放到环境变量path里才能运行

能不能发个Chrome 下载地址

chromedriver/headless-chromium-tencent (cb84abf): Smudge error: Error downloading chromedriver/headless-chromium-tencent (cb84abf7e7f5b2bdebd5c26adba2d5e6ccd66916798a2cb5675fc73c3aaaa1ad): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.