[MozillaSecurityBridge] source has been modified (#1394)

adjustement following source change
This commit is contained in:
Nono 2020-01-10 14:22:58 +01:00 committed by Lyra
parent ad661c4c91
commit 2175a4d08b

View file

@ -15,7 +15,7 @@ class MozillaSecurityBridge extends BridgeAbstract {
$html = defaultLinkTo($html, self::WEBROOT);
$item = array();
$articles = $html->find('div[itemprop="articleBody"] h2');
$articles = $html->find('div[id="main-content"] h2');
foreach ($articles as $element) {
$item['title'] = $element->innertext;