Update ThiladhunService.php

This commit is contained in:
2020-10-03 01:24:12 +05:00
parent 83132bc45c
commit 8c63a57af4

View File

@@ -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) {