jinas/rss-webscraper

Tool that reads rss from dhivehi news sites and scrape the latest news articles.

v1.2 2020-08-03 00:11 UTC

This package is auto-updated.

Last update: 2024-04-29 04:40:13 UTC


README

StyleCI

Tool that reads rss from dhivehi news sites and scrape the latest news articles.

This tool was built 6 months ago. There might be few bugs here and there but I will try to improve and look into those later.

Installation

composer require jinas/rss-webscraper

Usage

use Jinas\RssScraper\Services\RssService;

$rss = new RssService();
//echo json_encode($rss->thiladhun(), JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
echo json_encode($rss->faanooz(), JSON_UNESCAPED_UNICODE);

This will return a json representation of scraped data from faanooz. It will be scraped according to the rss feed.

Supported sites