diff --git a/scripts/list-headlines.ps1 b/scripts/list-headlines.ps1 index e39354f7..f289c2e0 100755 --- a/scripts/list-headlines.ps1 +++ b/scripts/list-headlines.ps1 @@ -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 diff --git a/scripts/list-news.ps1 b/scripts/list-news.ps1 index d2fb6d71..de2c19e5 100755 --- a/scripts/list-news.ps1 +++ b/scripts/list-news.ps1 @@ -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