Update list-news.ps1 and list-headlines.ps1

This commit is contained in:
Markus Fleschutz 2023-11-23 16:57:07 +01:00
parent 8f9bfa655d
commit 71eaa3e6f1
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
Author: Markus Fleschutz | License: CC0
#>
param([string]$RSS_URL = "https://yahoo.com/news/rss/world", [int]$maxCount = 20)
param([string]$RSS_URL = "https://www.yahoo.com/news/rss", [int]$maxCount = 20)
try {
[xml]$content = (Invoke-WebRequest -uri $RSS_URL -useBasicParsing).Content

View File

@ -19,7 +19,7 @@
Author: Markus Fleschutz | License: CC0
#>
param([string]$RSS_URL = "https://yahoo.com/news/rss/world", [int]$maxLines = 24, [int]$speed = 10)
param([string]$RSS_URL = "https://www.yahoo.com/news/rss", [int]$maxLines = 24, [int]$speed = 10)
try {
[xml]$content = (Invoke-WebRequest -URI $RSS_URL -useBasicParsing).Content