
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
delay-catcher
Advanced tools
Dieses Projekt ermöglicht es, über die Deutsche Bahn API verspätete Züge an einem bestimmten Bahnhof abzurufen und diese im csv-Format abzuspeichern. Dabei werden alle Regionalzüge mit einer Verspätung von mindestens 60 min gespeichert.
Inspiriert durch diesen Reddit-Thread.
npm install delay-catcher
npx delay-catcher <stationCode> <path>
<stationCode> ist dabei die Interne Bahnhofsnummer (IBNR), die jeden Bahnhof identifiziert. Der Code für Köln Hbf ist beispielsweise 8000207.
<path> gibt das Verzeichnis an, unter dem die Daten gespeichert werden sollen. Default ist "".
Der Befehl ruft alle Verspätungen für den vorherigen Tag am Zielbahnhof ab und fügt die Daten zu <path>/<Jahr>/delays<Monatsnummer>.csv hinzu, bzw. erstellt die Datei, falls diese noch nicht existiert.
Wenn eine gefundene Verspätung schon in der csv steht, dann wird sie nicht mehr hinzugefügt.
| Startbahnhof | Zugnummer | Zielbahnhof | Ankunft_Plan | Ankunft_tatsächlich | Verspätung |
|---|---|---|---|---|---|
| Bedburg(Erft) | RB 38 (10289) | Köln Hbf | 01.06.2025, 01:28 | 01.06.2025, 03:58 | 150 |
| Aachen Hbf | RE 1 (26845) | Köln Hbf | 01.06.2025, 01:44 | 01.06.2025, 03:52 | 129 |
| Hamm(Westf)Hbf | RE 1 (26800) | Köln Hbf | 01.06.2025, 05:12 | 01.06.2025, 06:26 | 75 |
| Hamm(Westf)Hbf | RE 1 (26810) | Köln Hbf | 01.06.2025, 10:12 | 01.06.2025, 11:13 | 62 |
| Koblenz Hbf | RB 26 (25432) | Köln Hbf | 02.06.2025, 18:02 | 02.06.2025, 19:15 | 73 |
| Hamm(Westf)Hbf | RE 1 (26838) | Köln Hbf | 03.06.2025, 00:12 | 03.06.2025, 01:38 | 87 |
| Hamm(Westf)Hbf | RE 1 (26802) | Köln Hbf | 03.06.2025, 06:12 | 03.06.2025, 07:37 | 86 |
Wichtig: Das Verzeichnis muss eine .env Datei mit USERAGENT= enthalten. Der Wert kann beispielsweise eine Mailadresse oder URL sein.
This project is licensed under the MIT License.
FAQs
Retrieve delays from DB API and save them to a CSV file.
We found that delay-catcher demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.