Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theyudhiztira/indonesia-news-scraper
A news scraper for nodejs that help to scrap news from Indonesian news portal.
https://github.com/theyudhiztira/indonesia-news-scraper
berita indo-news-scraper indonesia news-api news-portal news-scraper node-modules nodejs scraper scraping-websites
Last synced: 3 days ago
JSON representation
A news scraper for nodejs that help to scrap news from Indonesian news portal.
- Host: GitHub
- URL: https://github.com/theyudhiztira/indonesia-news-scraper
- Owner: theyudhiztira
- License: mit
- Created: 2020-07-19T10:32:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-27T05:14:15.000Z (26 days ago)
- Last Synced: 2024-12-07T03:31:33.821Z (16 days ago)
- Topics: berita, indo-news-scraper, indonesia, news-api, news-portal, news-scraper, node-modules, nodejs, scraper, scraping-websites
- Language: JavaScript
- Homepage:
- Size: 124 KB
- Stars: 29
- Watchers: 3
- Forks: 2
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Indo News Scraper [Beta]
![npm](https://img.shields.io/npm/dt/indo-news-scraper?style=flat-square)
![GitHub last commit](https://img.shields.io/github/last-commit/theyudhiztira/indonesia-news-scraper?style=flat-square)This package is a package to help you fetch single page news from Indonesian news websites.
## Installation
Use the package manager [npm](https://www.npmjs.com/get-npm) to install indo-news-scraper.
```bash
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.```javascript
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](https://choosealicense.com/licenses/mit/)