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
Requires
- fabpot/goutte: ^3.2.3
- kitetail/zttp: ^0.6.0
Requires (Dev)
- symfony/var-dumper: ^5.0
This package is auto-updated.
Last update: 2024-10-29 06:05:53 UTC
README
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.