From ef4923ae5c8cbb130b496667d4e4a97ecc330791 Mon Sep 17 00:00:00 2001 From: Corentin Garcia Date: Sun, 6 Jan 2019 18:38:53 +0100 Subject: [PATCH] [AmazonBridge] Fix parsing of list item (#998) Closes #993 Closes #769 --- bridges/AmazonBridge.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bridges/AmazonBridge.php b/bridges/AmazonBridge.php index b7933e85..c9d4dc9c 100644 --- a/bridges/AmazonBridge.php +++ b/bridges/AmazonBridge.php @@ -72,6 +72,9 @@ class AmazonBridge extends BridgeAbstract { // Title $title = $element->find('h2', 0); + if (is_null($title)) { + continue; + } $item['title'] = html_entity_decode($title->innertext, ENT_QUOTES);