aboutsummaryrefslogtreecommitdiff
path: root/bridges/VproTegenlichtBridge.php
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/VproTegenlichtBridge.php')
-rw-r--r--bridges/VproTegenlichtBridge.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/bridges/VproTegenlichtBridge.php b/bridges/VproTegenlichtBridge.php
index 2b5e5d20..44afba64 100644
--- a/bridges/VproTegenlichtBridge.php
+++ b/bridges/VproTegenlichtBridge.php
@@ -16,8 +16,7 @@ class VproTegenlichtBridge extends BridgeAbstract
public function collectData()
{
$url = sprintf('https://www.vpro.nl/programmas/tegenlicht/lees/artikelen.html');
- $dom = getSimpleHTMLDOM($url)
- or returnServerError('No contents received!');
+ $dom = getSimpleHTMLDOM($url);
$dom = $dom->find('ul#browsable-news-overview', 0);
$dom = defaultLinkTo($dom, $this->getURI());
foreach ($dom->find('li') as $article) {