Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anasfik/user-repositories-scrapper

a puppeteer script to get repositories data from user using puppeteer
https://github.com/anasfik/user-repositories-scrapper

javascript puppeteer repositories scrapper web-scraper web-scraping

Last synced: 9 days ago
JSON representation

a puppeteer script to get repositories data from user using puppeteer

Awesome Lists containing this project

README

        

# User Repositories Scrapper
A puppeteer script to scrap user repositories informations

## What it can scrap ?
- Repository title
- Repository description
- Repository stars number
- Repository forks number
- Repository dominant language (most used in repository)
- Repository last updateR

## Usage
First, you should have puppeteer installed fot your project


Get started with puppeteer



Or you can start with this :
First, install puppeter in your folder project, or clone this repository
```
npm i puppeteer --save
```
Note: this will install a Chromium browser where puppeteer will run

Second, in the index.js you would be able to see my github repositories link, change it with the link you want

Third, run the script with
```
node index.js
```
And wait, a chromium browser will be opened to scrap the data of user repositories and log it in the console

# To-do
- turn the result to json format
- save the result into a json file, so it'll be useful as an API