1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-21 17:01:22 +02:00

[LesJoiesDuCodeBridge] Fix items not loading

This commit is contained in:
floviolleau
2020-05-27 23:04:43 +02:00
committed by GitHub
parent 25f0d3b877
commit a1dd98ff82

View File

@@ -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);