Option 1
1 |
(((Invoke-WebRequest 'https://www.google.es/trends/hottrends/widget?pn=p26&tn=20').AllElements).where{$_.Class -eq "widget-title-in-list"}).innerText |
Option 2 (con fecha)
1 |
$contenido=[xml](Invoke-WebRequest -Uri 'https://www.google.es/trends/hottrends/atom/feed?pn=p26').content $contenido.rss.channel.item | %{$_.title,$_.pubDate} |