Phantom JS Proxy for Robot / Crawler
This is a Connect module for serve page for web crawler. It help you handling SEO setting with modern web application using hashtag / HTML5 history API. Phantom-Robot-Proxy will grab User-Agent from headers and rediect crawler request to phantomjs with redis cache.
- PhantomJS 1.6 or higher
- Redis Server 2.6 or higher
- Node Modules:
- node-phantom
- redis
phantomProxy = require('phantomProxy')
// Express App
app.use(phantomProxy.listen)
phantomProxy.setMatcher(/(googlebot|bingbot|baiduspider|slurp|bingpreview|msnbot)/gi)
- Add module Checker