An open API service indexing awesome lists of open source software.

https://github.com/jinwyp/phantomjs-touzi101

phantomjs-touzi101
https://github.com/jinwyp/phantomjs-touzi101

Last synced: about 1 month ago
JSON representation

phantomjs-touzi101

Awesome Lists containing this project

README

          

# [PhantomJS](http://phantomjs.org) - Capture Multipage Screenshots.

#### Capture web multipage as a pic. Pls modify variable "website" in captureurl.js file as json format about the page info you want capture.
#### And run in command line " phantomjs --config=config.json captureurl.js" (change the "outputEncoding" in config.json)
#### Then you can check the result in broswer http://localhost:8080/

#### 截取多个网页保存成图片. 请以json格式修改"captureurl.js"文件中的"website"变量,输入你想要截图的网址.
#### 通过命令行运行 " phantomjs --config=config.json captureurl.js" (可以修改config.json文件中的 "outputEncoding" 参数改变编码格式解决乱码)
#### 可以通过浏览器访问截图结果 http://localhost:8080/

# [PhantomJS](http://phantomjs.org) - Scriptable Headless WebKit

PhantomJS ([www.phantomjs.org](http://phantomjs.org)) is a headless WebKit scriptable with JavaScript or CoffeeScript. It is used by hundreds of [developers](https://github.com/ariya/phantomjs/wiki/Buzz) and dozens of [organizations](https://github.com/ariya/phantomjs/wiki/Users) for web-related development workflow.

The latest [stable release](http://phantomjs.org/release-1.9.html) is version 1.9 (codenamed "Sakura"). Follow the official Twitter stream [@PhantomJS](http://twitter.com/PhantomJS) to get the frequent development updates.

**Note**: Please **do not** create a GitHub pull request **without** reading the [Contribution Guide](https://github.com/ariya/phantomjs/blob/master/CONTRIBUTING.md) first. Failure to do so may result in the rejection of the pull request.