Skip to content

Scrape news in JSON from tneu.edu.ua

License

Notifications You must be signed in to change notification settings

tneudevteam/tneu-news

Repository files navigation

@tneu/news CircleCI

TNEU News Parser

Install

$ yarn add @tneu/news

Usage

const {parsePage, getTotalPages} = require('@tneu/news');

const totalPages = await getTotalPages(); // 508
const page = await parsePage(1); // returns {items, pageNumber, totalPages, hasPrevious, hasNext}

And the object in items array looks like:

License

MIT © Vlad Holubiev