From 1efb7c7bcea6c6fa87afd5470cdb611a87b8c32c Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Sun, 9 Jun 2019 19:01:49 +0200 Subject: [PATCH] [DesoutterBridge] Fix bridge after DOM changes --- bridges/DesoutterBridge.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bridges/DesoutterBridge.php b/bridges/DesoutterBridge.php index 4a7b0a9402c..0aae41ad146 100644 --- a/bridges/DesoutterBridge.php +++ b/bridges/DesoutterBridge.php @@ -159,13 +159,13 @@ public function collectData() { foreach($html->find('article') as $article) { $item = array(); - $item['uri'] = $article->find('[itemprop="name"]', 0)->href; - $item['title'] = $article->find('[itemprop="name"]', 0)->title; + $item['uri'] = $article->find('a', 0)->href; + $item['title'] = $article->find('a[title]', 0)->title; if($this->getInput('full')) { $item['content'] = $this->getFullNewsArticle($item['uri']); } else { - $item['content'] = $article->find('[itemprop="description"]', 0)->plaintext; + $item['content'] = $article->find('div.tile-body p', 0)->plaintext; } $this->items[] = $item;