add schedule downloader
This commit is contained in:
parent
568c51e8eb
commit
685dbc3a07
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
|
||||||
|
$ch = curl_init('https://datenspuren.de/2019/fahrplan/schedule.xml');
|
||||||
|
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
|
||||||
|
$output = curl_exec($ch);
|
||||||
|
curl_close($ch);
|
||||||
|
file_put_contents('schedule/schedule.xml', $output);
|
||||||
|
|
Loading…
Reference in New Issue