aboutsummaryrefslogtreecommitdiff
path: root/bridges/VproTegenlichtBridge.php
diff options
context:
space:
mode:
authorGravatar Anshul Gupta <ansg191@anshulg.com> 2025-03-02 19:32:33 -0800
committerGravatar GitHub <noreply@github.com> 2025-03-02 19:32:33 -0800
commit8b16dd20f6544af3eedf286e23c0d34ab525736c (patch)
treeec284e22a046c4c8e9626e3fa64a000a2747bf84 /bridges/VproTegenlichtBridge.php
parentb183aa798af48af556496c42780d6e844172cf44 (diff)
parent00a24e2f694a319a5e6cb070dddfff2dae892378 (diff)
downloadrss-bridge-master.tar.gz
rss-bridge-master.tar.zst
rss-bridge-master.zip
Merge branch 'RSS-Bridge:master' into masterHEADmaster
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) {