var Scraper = require('session-scraper');
var scraper = new Scraper();
scraper.get('https://github.com/roryf?tab=repositories').then(function($) {
var repoUrl = $('.repolist li:first-child h3 a').attr('href');
var name = $('.repolist li:first-child h3 a').text();
console.log('Fetching readme for ' + name);
scraper.get('http://github.com' + repoUrl).then(function($) {
console.log($('.entry-content').text());
});
});