init
This commit is contained in:
commit
ce0de63636
|
@ -0,0 +1,2 @@
|
|||
$env:POWERSHELL_TELEMETRY_OPTOUT=yes
|
||||
import-module ~/Documents/PowerShell/functions.psm1
|
|
@ -0,0 +1,12 @@
|
|||
function Save-VideoAsMp3
|
||||
{
|
||||
[CmdletBinding()]
|
||||
[alias("2mp3")]
|
||||
param(
|
||||
[Parameter(Mandatory=$true)]
|
||||
[String]$Url
|
||||
)
|
||||
Push-Location ~/Music
|
||||
yt-dlp.exe --throttled-rate=40K -N4 --extract-audio --audio-format mp3 $Url
|
||||
Pop-Location
|
||||
}
|
Loading…
Reference in New Issue