aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Juan Jose Pablos <juanjo@apertus.es> 2022-11-29 15:19:16 +0100
committerGravatar GitHub <noreply@github.com> 2022-11-29 15:19:16 +0100
commitca667d731ce5b8b9e1b4768b4af1b11f97f90bf8 (patch)
tree7d9cdbf700283d006d8e254b47c41ac1dba2d5c4
parentd38cd05bea387076f2336196cc57ec685ff340bf (diff)
downloadrss-bridge-ca667d731ce5b8b9e1b4768b4af1b11f97f90bf8.tar.gz
rss-bridge-ca667d731ce5b8b9e1b4768b4af1b11f97f90bf8.tar.zst
rss-bridge-ca667d731ce5b8b9e1b4768b4af1b11f97f90bf8.zip
Update VproTegenlichtBridge.php (#3168)
Fix lint error
-rw-r--r--bridges/VproTegenlichtBridge.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/bridges/VproTegenlichtBridge.php b/bridges/VproTegenlichtBridge.php
index 3a71f9f0..2b5e5d20 100644
--- a/bridges/VproTegenlichtBridge.php
+++ b/bridges/VproTegenlichtBridge.php
@@ -19,13 +19,12 @@ class VproTegenlichtBridge extends BridgeAbstract
$dom = getSimpleHTMLDOM($url)
or returnServerError('No contents received!');
$dom = $dom->find('ul#browsable-news-overview', 0);
-
$dom = defaultLinkTo($dom, $this->getURI());
foreach ($dom->find('li') as $article) {
$a = $article->find('a.complex-teaser', 0);
$title = $article->find('a.complex-teaser', 0)->title;
$url = $article->find('a.complex-teaser', 0)->href;
- $author = "VPRO tegenlicht";
+ $author = 'VPRO tegenlicht';
$content = $article->find('p.complex-teaser-summary', 0)->plaintext;
$timestamp = strtotime($article->find('div.complex-teaser-data', 0)->plaintext);