nelsonic / github-scraper

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

When a repo has more than one page of issues return the link to the next page? #19

Closed nelsonic closed 9 years ago

nelsonic commented 9 years ago

Visiting a project with more than a page worth of issues has pagination at the bottom of the page:

tudo-issues-list-showing-pagination

Which has a link to: https://github.com/dwyl/tudo/issues?page=2&q=is%3Aissue+is%3Aopen

tudo-issues-second-page

nelsonic commented 9 years ago

Done: https://github.com/nelsonic/github-scraper/blob/4ab9ac88d98636e6c2959ff2b55183c9245849a2/lib/issues.js#L65-L69