node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »



Build Status

DynFetcher is a simple library for fetching parts of web pages using CSS selectors.

Fetch weather or TV program or any other data from (X)HTML files in just a few lines using CSS selectors.


DynFetcher = require 'dynfetcher'
dyn = new DynFetcher ''
itemData = 
    ip :
        selector : '#ip_address'
        required : on
dyn.find '#info_table', itemData, (err, info) ->
    if err
        console.error err
    console.log info[0]

For latest updates visit project's repository.

Maybe you might find interesting Yahoo! Query Language.