https://github.com/jinwyp/phantomjs-touzi101
phantomjs-touzi101
https://github.com/jinwyp/phantomjs-touzi101
Last synced: about 1 month ago
JSON representation
phantomjs-touzi101
- Host: GitHub
- URL: https://github.com/jinwyp/phantomjs-touzi101
- Owner: jinwyp
- License: bsd-3-clause
- Created: 2013-05-06T04:35:01.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-06-21T07:16:24.000Z (over 12 years ago)
- Last Synced: 2025-06-09T18:04:42.450Z (4 months ago)
- Language: JavaScript
- Size: 15 MB
- Stars: 2
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE.BSD
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.