mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-29 12:50:18 +02:00
[BlaguesDeMerdeBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -8,7 +8,8 @@ class BlaguesDeMerdeBridge extends BridgeAbstract{
|
||||
|
||||
|
||||
public function collectData(){
|
||||
$html = $this->getSimpleHTMLDOM('http://www.blaguesdemerde.fr/') or $this->returnServerError('Could not request BDM.');
|
||||
$html = $this->getSimpleHTMLDOM($this->uri)
|
||||
or $this->returnServerError('Could not request BDM.');
|
||||
|
||||
foreach($html->find('article.joke_contener') as $element) {
|
||||
$item = array();
|
||||
|
Reference in New Issue
Block a user