I was planning on using either the one by kannagi0303 from github or stacher.

update: I have setup the one from github, seems to do the job. Still can’t figure out downloading subtitles using gui and using the yt-dlp terminal version for that. Link for what I am using: https://github.com/kannagi0303/yt-dlp-gui

  • potemkinhr@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    I similarly made two functions depending on the use case (see comments in code) and saved them in Powershell’s default profile (Microsoft.PowerShell_profile.ps1) so I can invoke them with just one word directly in commandline, works great 👌

    function Vid {
        param (
            [Parameter(Mandatory=$true)]
            [string]$link
        )
        yt-dlp -P "$env:USERPROFILE\Downloads" $link -S "res:1080,br" --embed-subs --sub-langs all,-live_chat --remux mp4
    } #Downloads videos using yt-dlp limited to 1080p; usage Vid YT_URL
    function VidFull {
        param (
            [Parameter(Mandatory=$true)]
            [string]$link
        )
        yt-dlp -P "$env:USERPROFILE\Downloads" $link --embed-subs --sub-langs all,-live_chat --remux mp4
    } #Downloads videos using yt-dlp in maximum quality; usage VidFull YT_URL