Updated list-news.ps1

This commit is contained in:
Markus Fleschutz 2024-12-30 22:48:31 +01:00
parent 86c15a6982
commit 982debb892

View File

@ -14,7 +14,7 @@
UTC HEADLINES (source: https://www.yahoo.com/news/world)
--- ---------
09:15 Deadly Mediterranean wildfires kill more than 40
09:15 Deadly Mediterranean wildfires kill more than 40
...
.LINK
https://github.com/fleschutz/PowerShell
@ -36,7 +36,7 @@ try {
foreach ($item in $content.rss.channel.item) {
$title = $item.title -replace "â","'"
$time = $item.pubDate.Substring(11, 5)
& "$PSScriptRoot/write-typewriter.ps1" "$time $title" $speed
& "$PSScriptRoot/write-typewriter.ps1" "$time $title" $speed
if ($count++ -eq $maxLines) { break }
}
exit 0 # success