$url=Read-Host "Input URL "
$wc=New-Object System.Net.WebClient
$wc.Encoding=[System.Text.Encoding]::UTF8
$source=$wc.DownloadString($url)
$source -match("<title>([\s\S]*?)\|") | Out-Null
$title=$matches[1]
$source -match("html\?id=(.*?)""") | Out-Null
$id=$matches[1]
$m3u8="https://video.jpshow.net/drive/hls/$id/$id.m3u8";
./youtube-dl --referer "https://jpshow.net/"; --hls-prefer-native "$m3u8" -o "$title.mp4"