nelsonic / github-scraper

🕷 🕸 crawl GitHub web pages for insights we can't GET from the API ... 💡
425 stars 96 forks source link

Distinguish between following and followers #98

Closed nelsonic closed 5 years ago

nelsonic commented 5 years ago

On the basis that the page DOM is almost identical for https://github.com/dwylbot/following and https://github.com/dwylbot/followers We are using the same parser to get the data from these two pages:

https://github.com/nelsonic/github-scraper/blob/5cbe6698d218790d889524693561a66116de1c66/lib/followers.js#L11

The issue is when we attempt to use that data in our example learning app it's "confusing". We can easily simplify this by distinguishing between following and followers.

Todo