this post was submitted on 11 Jul 2023
52 points (93.3% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54476 readers
385 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] potemkinhr@lemmy.ml 3 points 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