Update list-news.ps1

This commit is contained in:
Markus Fleschutz 2024-02-14 07:57:25 +01:00
parent e993d937d6
commit f89271ce4b

View File

@ -31,7 +31,7 @@ try {
if ($count++ -eq $maxLines) { break } if ($count++ -eq $maxLines) { break }
} }
$URL = $content.rss.channel.link $URL = $content.rss.channel.link
" (Times in UTC | Read more at: $URL)" " (UTC) Read more at: $URL"
exit 0 # success exit 0 # success
} catch { } catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"