Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Simple app for scraping author profiles and tutorials from Scotch.io - https://scotch.io.

Notifications You must be signed in to change notification settings

gladchinda/scotch-scraping-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scotch-scraping-node

You can checkout the complete tutorial on Scotch: Web Scraping Scotch: The Node Way.

Simple app for scraping author profiles from Scotch.io. To get started, follow the following steps:

  1. Install dependencies

The app source code contains a lot of modern JavaScript syntax and uses the following engine versions: node 8.9.4 and npm 5.6.0. You should consider using recent versions of node and npm to run this app successfully.

npm install
  1. Start the server
npm start
  1. Load author profile

Visit your browser or any other HTTP tool of choice (e.g Postman) and make a GET request to the endpoint /scotch/{author} to fetch the profile of the author as a JSON response.

To fetch my Scotch profile for example, use the author name gladchinda as shown in the following cURL command.

curl -X GET http://localhost:3000/scotch/gladchinda

Happy Scraping!!!
Remember to hit the Star button to star this repository.

About

Simple app for scraping author profiles and tutorials from Scotch.io - https://scotch.io.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published