Skip to content

A news scraper for nodejs that help to scrap news from Indonesian news portal.

License

Notifications You must be signed in to change notification settings

theyudhiztira/indonesia-news-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Indo News Scraper [Beta]

npm GitHub last commit

This package is a package to help you fetch single page news from Indonesian news websites.

Installation

Use the package manager npm to install indo-news-scraper.

npm i indo-news-scraper

Available News Portal

  • Antara
  • Detik
  • Kompas
  • Liputan6
  • Republika
  • Suara
  • Tempo
  • Viva

Usage

You can simply use the scrap function and pass the KEYWORDS as the parameter.

import { Detik } from 'indo-news-scraper';

Detik.scrap('put your keywords here').then(res => {
 console.log(res);
});

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT