Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
Merge pull request #2 from mensler/fix-download-uri
Browse files Browse the repository at this point in the history
Fixed download URI and DOMURIPicker to reflect Bundesbank website change
  • Loading branch information
jonashaag authored Oct 8, 2018
2 parents edc3294 + 38fe573 commit 7a22027
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/dataBackend/file/FileDataBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class FileDataBackend extends DataBackend
{

// @codingStandardsIgnoreStart
const DOWNLOAD_URI = "https://www.bundesbank.de/Redaktion/DE/Standardartikel/Aufgaben/Unbarer_Zahlungsverkehr/bankleitzahlen_download.html";
const DOWNLOAD_URI = "https://www.bundesbank.de/de/aufgaben/unbarer-zahlungsverkehr/serviceangebot/bankleitzahlen/download---bankleitzahlen-602592";
// @codingStandardsIgnoreEnd

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function pickURI($html)
$xpath = new \DOMXpath($doc);

$result = $xpath->query(
"//*[contains(text(),'Bankleitzahlendateien')]"
"//*[contains(.,'Bankleitzahlendateien')]"
);

foreach ($result as $node) {
Expand Down

0 comments on commit 7a22027

Please sign in to comment.