aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar SebLaus <97241865+SebLaus@users.noreply.github.com> 2025-01-25 18:28:36 +0100
committerGravatar GitHub <noreply@github.com> 2025-01-25 18:28:36 +0100
commit952a2d99a338026af2a5f539c92cc420912867ea (patch)
tree574e6522d89b50f84918a77632946e1804af1acc
parent58b3cfb158077db359e1ab53758e06357ed9af5f (diff)
downloadrss-bridge-952a2d99a338026af2a5f539c92cc420912867ea.tar.gz
rss-bridge-952a2d99a338026af2a5f539c92cc420912867ea.tar.zst
rss-bridge-952a2d99a338026af2a5f539c92cc420912867ea.zip
Beginning of URL not needed anymore: ErrorMessage: cURL error Could not resolve host: www.bundestag.dehttps: 6 (https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://www.bundestag.dehttps://www.bundestag.de/parlament/praesidium/parteienfinanzierung/fundstellen50000/2025/2025-inhalt-1032412 (#4420)
-rw-r--r--bridges/BundestagParteispendenBridge.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridges/BundestagParteispendenBridge.php b/bridges/BundestagParteispendenBridge.php
index 30817d96..773f9129 100644
--- a/bridges/BundestagParteispendenBridge.php
+++ b/bridges/BundestagParteispendenBridge.php
@@ -32,7 +32,7 @@ URI;
$firstAnchor = $html->find('a', 0)
or returnServerError('Could not find the proper HTML element.');
- $url = 'https://www.bundestag.de' . $firstAnchor->href;
+ $url = $firstAnchor->href;
// Get the actual page with the soft money donations
$html = getSimpleHTMLDOMCached($url, self::CACHE_TIMEOUT);