3 ms·
I guess you are using HN-Proxy (https://github.com/matthusby/HN-Proxy https://github.com/matthusby/HN-Proxy). Be careful with Google -- proxying sites might fla
by metachris 16y ago
I guess you are using HN-Proxy (https://github.com/matthusby/HN-Proxy https://github.com/matthusby/HN-Proxy). Be careful with Google -- proxying sites might flag your site as spam (although I guess you're not going to drive a lot of traffic from Google anyway).
- geuis 16y agoNope, this is all node.js. The scraper hits the homepage every 10 seconds or so with a generous fallback timing if a non 200 response is received. Have to be nice to the server. The response is then parsed into a json object using node-jquery
- geuis 16y agoNope, this is all node.js. The scraper hits the homepage every 10 seconds or so with a generous fallback timing if a non 200 response is received. Have to be nice to the server. The response is then parsed into an object using node-jquery. Client rendering is handled via Express. The object is passed through the jqtpl rendering engine. Results are then cached for initial page loads, and separately for socket.io updates.