Цитата DJ Mogarych:
Вытащить описание с Youtube»
|
Код:
param(
$URL = 'https://www.youtube.com/watch?v=HZTStHzWRxM'
)cls
$URLcontent = (Iwr $URL -useb).content
$Description = ($URLcontent|sls '(?<="description":\{"simpleText":").*?(?="\},"lengthSeconds)').Matches.Value -split "\\n"
$Description