Update ThiladhunService.php
This commit is contained in:
@@ -15,7 +15,7 @@ class ThiladhunService extends Client
|
|||||||
{
|
{
|
||||||
//Return only the rss that contains "news" keyboard in its url
|
//Return only the rss that contains "news" keyboard in its url
|
||||||
$articles = $this->get("https://thiladhun.com/feed")["channel"]["item"];
|
$articles = $this->get("https://thiladhun.com/feed")["channel"]["item"];
|
||||||
|
|
||||||
$articlesitems = [];
|
$articlesitems = [];
|
||||||
//Looping through the articles and scraping and while scraping it creates a new instance of the scraper.
|
//Looping through the articles and scraping and while scraping it creates a new instance of the scraper.
|
||||||
foreach ($articles as $article) {
|
foreach ($articles as $article) {
|
||||||
|
Reference in New Issue
Block a user