From f72cde7fa12095270b8c18f3d0c19ed5367004f1 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Fri, 29 Jul 2016 08:23:03 +0200 Subject: [PATCH] =?UTF-8?q?RTBFBridge:=20exclude=20"=C3=80=20voir=20aussi"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bridges/RTBFBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/RTBFBridge.php b/bridges/RTBFBridge.php index c82041b..3b2a890 100644 --- a/bridges/RTBFBridge.php +++ b/bridges/RTBFBridge.php @@ -26,7 +26,7 @@ class RTBFBridge extends BridgeAbstract { if (isset($param['c'])) { $html = $this->file_get_html('http://www.rtbf.be/auvio/emissions/detail?id='.$param['c']) or $this->returnError('Could not request RTBF.', 404); - foreach($html->find('.rtbf-media-grid article') as $element) { + foreach($html->find('section[id!=widget-ml-avoiraussi-] .rtbf-media-grid article') as $element) { if($count < $limit) { $item = new \Item(); $item->id = $element->getAttribute('data-id');