0.0.1 • Published 8 years ago
github_trending_node v0.0.1
github_trending_node
Crawler for github trending page
##Usage
var test = require('github_trending_node');
scraper = new test.Crawler();
scraper.fetchTrendRepos("").then(function(repos){
repos.forEach(function(repo){
console.log(repo.owner);
console.log(repo.name);
console.log(repo.desc);
});
}).catch(function(err){
console.log(err.message);
});
Crawler will fetch 5 kinds data of each repo:
owner: Repo owner name
name: Repo name
desc: Repo desciption
lang: Repo main language
stars: Repo stars today
0.0.1
8 years ago