diff --git a/bridges/AsahiShimbunAJWBridge.php b/bridges/AsahiShimbunAJWBridge.php index 9c9e7706..03bee6ba 100644 --- a/bridges/AsahiShimbunAJWBridge.php +++ b/bridges/AsahiShimbunAJWBridge.php @@ -68,7 +68,12 @@ class AsahiShimbunAJWBridge extends BridgeAbstract $e_video->outertext = ''; $element->innertext = "VIDEO: $element->innertext"; } - $item['title'] = $element->innertext; + $e_title = $element->find('.title', 0); + if ($e_title) { + $item['title'] = $e_title->innertext; + } else { + $item['title'] = $element->innertext; + } $this->items[] = $item; }