Skip to content

pisze-programy/node-thecodinglove-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node thecodinglove scraper

Node scraping using Express. Application is for learn purpose and for future usage. The site which is scraped is thecodinglove. If you would like to write own scraper, fill free to fork it.

Usage

Thecodinglove.com scraping using express.

Quick start

1. Copy a config files and fill it

1.1. Database configuration

$ cp config/database.example.json config/database.json

1.2 Secrets config

$ cp config/secrets.example.json config/secrets.json

Note: Set the cron schedule in every: config/secrets.json key: cron Note2: Remember that first cron job will start immediate but job will be executed after this time.

2. Install dependecies

$ npm install 

or

$ yarn

3. Run server

$ npm start

4. Enjoy thecodinglove scraper.

Remember, it is not cool to DDoS sites. Thecodinglove.com is super cool. Do not run cron job if u do not need it.

Dependecies

Plugin Description
Express Fast, unopinionated, minimalist web framework for node
Mongoose Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment
Babel The compiler for writing next generation JavaScript
Request Simplified HTTP client
ESLint A fully pluggable tool for identifying and reporting on patterns in JavaScript
Joi Object schema validation
Body-Parser Node.js body parsing middleware
Cheerio Fast, flexible, and lean implementation of core jQuery designed specifically for the server
Nodemon Monitor for any changes in your node.js application and automatically restart the server - perfect for development
Node-cron Cron jobs for your node

License

MIT © Krystian Błaszczyk

About

Thecodinglove.com scraping with nodejs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published