nelsonic / github-scraper

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

add 'forked from' url to repo data if present #83

Closed backhand closed 7 years ago

backhand commented 7 years ago

Implement scraping the url the repo was forked from, if it's there. If not, no property will be added to the data object. This makes it easy to determine both if a repo was forked, as well as from where.

backhand commented 7 years ago

Also: fixed unrelated failing test

codecov-io commented 7 years ago

Codecov Report

Merging #83 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #83   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          14     14           
  Lines         173    176    +3     
=====================================
+ Hits          173    176    +3
Impacted Files Coverage Δ
lib/repo.js 100% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 9cc292f...c02d5ea. Read the comment docs.