Replace '.' with '-' in youtube link

Signed-off-by: Lev Rusanov <30170278+JDM170@users.noreply.github.com>
This commit is contained in:
2024-08-26 14:14:56 +07:00
parent c3c0a74bfe
commit 4758eb22cf
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ $angleparser = New-Object -TypeName AngleSharp.Html.Parser.HtmlParser
# Trying to find correct APK link (not BUNDLE)
# https://www.apkmirror.com/apk/google-inc/youtube/
$apkMirrorLink = "https://www.apkmirror.com/apk/google-inc/youtube/youtube-$($LatestSupported)-release/"
$apkMirrorLink = "https://www.apkmirror.com/apk/google-inc/youtube/youtube-$($LatestSupported.replace('.', '-'))-release/"
$Parameters = @{
Uri = $apkMirrorLink
UseBasicParsing = $false # Disabled