Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

53 lines (39 sloc) 1.616 kb
how to scrape web pages with nodejs and jquery
http://net.tutsplus.com/tutorials/javascript-ajax/how-to-scrape-web-pages-with-node-js-and-jquery/
jsdom at github
jsdom process html response from 'request', and we can also attach arbitrary javascript into it (such as jquery).
https://github.com/tmpvar/jsdom
request module at github
curl 'replacement' as it's responsible to fetch content, we can also modify request header, etc.
https://github.com/mikeal/request
nodejs modules, mandatory i guess
http://nodejs.org/docs/v0.3.1/api/all.html#modules
express web server
http://expressjs.com/guide.html
'middleware' request parameters rule
https://github.com/visionmedia/express-params
slice() javascript
mozilla developer network
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/slice
splice() javascript
mozzila developer network
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Array/splice
private properties using closure
ps: i personally recommend to this resig's masterpiece
http://ejohn.org/apps/learn/#54
learn javascript with object graphs
high quality series from howtonode.org
http://howtonode.org/object-graphs
forever
run script as daemon
https://github.com/nodejitsu/forever
redis
http://redis.io
http://redis.io/topics/data-types
node-redis
https://github.com/mranney/node_redis
http://simonwillison.net/static/2010/redis-tutorial/
http://howtonode.org/node-redis-fun
stream and pipe (currently working on image grabber)
http://dailyjs.com/2012/03/08/unix-node-pipes/
http://docs.nodejitsu.com/articles/advanced/streams/how-to-use-stream-pipe
Jump to Line
Something went wrong with that request. Please try again.