[AmazonBridge] Fix parsing of list item (#998)

Closes #993 
Closes #769
This commit is contained in:
Corentin Garcia 2019-01-06 18:38:53 +01:00 committed by LogMANOriginal
parent 18229b5c70
commit ef4923ae5c

View file

@ -72,6 +72,9 @@ class AmazonBridge extends BridgeAbstract {
// Title // Title
$title = $element->find('h2', 0); $title = $element->find('h2', 0);
if (is_null($title)) {
continue;
}
$item['title'] = html_entity_decode($title->innertext, ENT_QUOTES); $item['title'] = html_entity_decode($title->innertext, ENT_QUOTES);