Skip to content

johnroyer/html-renderer-puppeteer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

說明

讓 puppeteer 可透過 proxy 擷取資料

使用方法

透過 JSON 指定 urlproxy (選用),其中 proxy 必須包含通訊協定 (httphttps)。

curl 範例:

curl -X POST -d '{"url":"https://zeroplex.tw/ip","proxy":"http://your.proxy:3128"}' http://puppeteer.host:38080 {"httpStatusCode":200,"html":"<html><head></head><body>10.1.1.1</body></html>"}

Docker

docker pull:

docker pull johnroyer/html-renderer-puppeteer:latest

run:

docker run -d --name html-renderer-puppeteer \ -p 38080:38080 \ johnroyer/html-renderer-puppeteer:0.1.4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors