[LesJoiesDuCodeBridge] Fix items not loading
This commit is contained in:
parent
25f0d3b877
commit
a1dd98ff82
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class LesJoiesDuCodeBridge extends BridgeAbstract {
|
||||||
$html = getSimpleHTMLDOM(self::URI)
|
$html = getSimpleHTMLDOM(self::URI)
|
||||||
or returnServerError('Could not request LesJoiesDuCode.');
|
or returnServerError('Could not request LesJoiesDuCode.');
|
||||||
|
|
||||||
foreach($html->find('div.blog-post') as $element) {
|
foreach($html->find('article.blog-post') as $element) {
|
||||||
$item = array();
|
$item = array();
|
||||||
$temp = $element->find('h1 a', 0);
|
$temp = $element->find('h1 a', 0);
|
||||||
$titre = html_entity_decode($temp->innertext);
|
$titre = html_entity_decode($temp->innertext);
|
||||||
|
|
Loading…
Reference in a new issue