Skip to content

Commit

Permalink
[LesJoiesDuCodeBridge] Fix items not loading
Browse files Browse the repository at this point in the history
  • Loading branch information
floviolleau authored May 27, 2020
1 parent 25f0d3b commit a1dd98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bridges/LesJoiesDuCodeBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public function collectData(){
$html = getSimpleHTMLDOM(self::URI)
or returnServerError('Could not request LesJoiesDuCode.');

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

0 comments on commit a1dd98f

Please sign in to comment.