thiladhun scrapper to green
This commit is contained in:
		@@ -9,8 +9,8 @@ class ThiladhunFeed implements Feed
 | 
			
		||||
 | 
			
		||||
    public function __construct()
 | 
			
		||||
    {
 | 
			
		||||
        $this->client = new Client();        
 | 
			
		||||
    }    
 | 
			
		||||
        $this->client = new Client();
 | 
			
		||||
    }
 | 
			
		||||
    /**
 | 
			
		||||
     * Get all the latest news
 | 
			
		||||
     *
 | 
			
		||||
@@ -18,7 +18,7 @@ class ThiladhunFeed implements Feed
 | 
			
		||||
     */
 | 
			
		||||
    public function get() : array
 | 
			
		||||
    {
 | 
			
		||||
      
 | 
			
		||||
 | 
			
		||||
        $crawler = $this->client->request('GET', "https://www.thiladhun.com");
 | 
			
		||||
 | 
			
		||||
        $feeds = [];
 | 
			
		||||
@@ -31,9 +31,9 @@ class ThiladhunFeed implements Feed
 | 
			
		||||
               "date" => $node->filter('time')->first()->attr('datetime')
 | 
			
		||||
            ];
 | 
			
		||||
 | 
			
		||||
        });     
 | 
			
		||||
        
 | 
			
		||||
        });
 | 
			
		||||
 | 
			
		||||
        return $feeds;
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user