Skip to content

Commit a1dd98f

Browse files
authoredMay 27, 2020
[LesJoiesDuCodeBridge] Fix items not loading
1 parent 25f0d3b commit a1dd98f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎bridges/LesJoiesDuCodeBridge.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public function collectData(){
1111
$html = getSimpleHTMLDOM(self::URI)
1212
or returnServerError('Could not request LesJoiesDuCode.');
1313

14-
foreach($html->find('div.blog-post') as $element) {
14+
foreach($html->find('article.blog-post') as $element) {
1515
$item = array();
1616
$temp = $element->find('h1 a', 0);
1717
$titre = html_entity_decode($temp->innertext);

0 commit comments

Comments
 (0)
Please sign in to comment.