mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
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)
This commit is contained in:
parent
58b3cfb158
commit
952a2d99a3
@ -32,7 +32,7 @@ URI;
|
|||||||
$firstAnchor = $html->find('a', 0)
|
$firstAnchor = $html->find('a', 0)
|
||||||
or returnServerError('Could not find the proper HTML element.');
|
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
|
// Get the actual page with the soft money donations
|
||||||
$html = getSimpleHTMLDOMCached($url, self::CACHE_TIMEOUT);
|
$html = getSimpleHTMLDOMCached($url, self::CACHE_TIMEOUT);
|
||||||
|
Loading…
Reference in New Issue
Block a user