快速截图网站
mkscreenshot的Python项目详细描述
` mkscreenshot`使用selenium和phantomjs从命令行截图网站。
使用自制程序安装phantomjs:`brew cask install phantomjs`(os x);使用npm安装phantomjs:`npm install-g phantomjs`(所有平台);或使用系统的包管理器。
完成后,安装“mkscreenshot”非常简单:
````
pip3 install mkscreenshot
````
u请注意:“mkscreenshot”只在python 3.5中测试-您应该使用python3!_
窗口[BR/>帮助显示此消息并退出.BR/> 'BR/>< BR> > BR/>例如,获取[黑客新闻](http://News .yCullAcc.com)主页:
‘BR/> & MKStuffStudio http://News。yMulcActudio.com:BR/> ` BR/>< BR/>,您将得到这样的屏幕截图:
BR/>![黑客新闻](https://s3-ap-souttheast-2.amazonaws.com/brntn/news.ycombinator.com-20160823-133356.png)
\license
[phantom]:http://phantomjs.org/download.html
使用自制程序安装phantomjs:`brew cask install phantomjs`(os x);使用npm安装phantomjs:`npm install-g phantomjs`(所有平台);或使用系统的包管理器。
完成后,安装“mkscreenshot”非常简单:
````
pip3 install mkscreenshot
````
u请注意:“mkscreenshot”只在python 3.5中测试-您应该使用python3!_
窗口[BR/>帮助显示此消息并退出.BR/> 'BR/>< BR> > BR/>例如,获取[黑客新闻](http://News .yCullAcc.com)主页:
‘BR/> & MKStuffStudio http://News。yMulcActudio.com:BR/> ` BR/>< BR/>,您将得到这样的屏幕截图:
BR/>![黑客新闻](https://s3-ap-souttheast-2.amazonaws.com/brntn/news.ycombinator.com-20160823-133356.png)
\license
[phantom]:http://phantomjs.org/download.html