foundersandcoders / prereq-check

A FAC application prerequisite checker: to be used by applicants and the selection committee :fire:
https://prereq-check.herokuapp.com
18 stars 2 forks source link

Input GitHub page URL to view prerequisite information #6

Closed ameliejyc closed 7 years ago

ameliejyc commented 7 years ago

As a selection panel member I can input the URL of an applicant's GitHub page in order to see their prerequisite information. As an applicant I can input the URL of my GitHub page in order to see my prerequisite information.

Acceptance criteria:

scrape page 3 2

astroash commented 7 years ago

I think we can use the request module to scrape the html from their gh pages link. Here's an example bit of code I came across in StackOverflow

var request = require('request');
request('http://www.google.com', function (error, response, body) {
  if (!error && response.statusCode == 200) {
    console.log(body) // Print the google web page.
  }
})