mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-02-01 02:19:26 +01:00
Updated list-news.ps1
This commit is contained in:
parent
86c15a6982
commit
982debb892
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user