mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
Merge pull request #294 from Frenzie/master
RTBFBridge: exclude "À voir aussi"
This commit is contained in:
commit
a5b8c8d422
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class RTBFBridge extends BridgeAbstract {
|
||||||
if (isset($param['c'])) {
|
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);
|
$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) {
|
if($count < $limit) {
|
||||||
$item = new \Item();
|
$item = new \Item();
|
||||||
$item->id = $element->getAttribute('data-id');
|
$item->id = $element->getAttribute('data-id');
|
||||||
|
|
Loading…
Reference in a new issue