32

Nodejs Web scrapper

 5 years ago
source link: https://www.tuicool.com/articles/hit/aUVJbya
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

web-scraper-nodejs

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

What things you need to install the software and how to install them

node ^8.9.12

Setting up the environment

You Should have nodejs installed on your local machine

Clone the project and change the directory to the project(using cd command) and type the following command in terminal:

npm install

It will install all node modules

Now start the server:

node server
open up the browser and type localhost:8081/scrape

then you will find the movie details from IMDB in the output.json folder in your project directory.

You can change movie url as per your choice here .

Contributing

Authors

  • Nilesh -.

License

This project is licensed under the MIT License - see the LICENSE.md file for details


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK