{{tag>node framework javascript phantomjs crawler chrome engine}}

====== PhantomJs ======

{{:nodejs:phantomjs.png?nolink&300|}}

PhantomJS это все плюшки WebKit из консоли с управлением на JS и поддержкой различных стандартов и технологий: DOM, CSS, JSON, Canvas и SVG.

===== Установка =====

<code bash>
$ npm install phantomjs
</code>
===== Документация / Статьи =====

  * http://www.slideshare.net/Kozovaya/phantom-js
  * https://habrahabr.ru/post/116789/
  * http://blog.luchnikov.ru/programming/phantomjs/
  * http://usefuldevops.ru/blog/2013/08/23/znakomstvo-s-phantomjs-na-praktikie/
  * http://stepansuvorov.com/blog/2012/09/%D1%81%D0%BE%D0%B7%D0%B4%D0%B0%D0%B5%D0%BC-%D1%8E%D0%BD%D0%B8%D1%82-%D1%82%D0%B5%D1%81%D1%82%D1%8B-%D1%81-phantomjs/
  * http://learndata.ru/phantomjs-casperjs-parsing/

===== Примеры использования =====

  * https://zlob.in/2015/01/delaem-pravilnyj-grabbingparsing-pri-pomoshhi-javascript/
  * http://jeka.by/post/1029/screenshots/
  * http://www.kselax.ru/2015/09/phantomjs-konsolnyj-vebbrauzer-dlya-novichkov/
  * [[node:phantomjs:drag&drop]]
  * https://github.com/redco/goose-parser
  * https://github.com/mlconnor/phantalyzer
  * https://github.com/kimmobrunfeldt/url-to-image
  * https://github.com/nrabinowitz/pjscrape
  * https://github.com/fzaninotto/screenshot-as-a-service
  * https://github.com/neraliu/tainted-phantomjs
  * https://github.com/johntitus/node-horseman

===== Библиотеки =====

  * https://github.com/jonnnnyw/php-phantomjs

===== Проекты =====

  * https://github.com/ariya/phantomjs/tree/master/examples
  * http://phptrends.com/dig_in/PhantomJS
  * [[node:casperjs|]]
  * [[node:nightmarejs]]

