Miscellaneous scripts
This repository contains miscellaneous scripts that does not fit in one repository, yet I will use them sometimes for my personal use. Note that some of the scripts might contain hardcoded paths and opinionated presets, and you are advised to inspect them before actually using.
Loading...
Searching...
No Matches
yt-dlp Directory Reference

Files

 
versioninfo.py

Detailed Description

preparing yt-dlp as an executable file

Instructions

Requirements:

  1. Only Windows is supported for this script.
  2. Python installed.
  3. GCC (MinGW-w64) compiler installed and added to PATH. (I use https://winlibs.com/)
  4. FFmpeg.exe static build downloaded, and placed in the same directory as this script. (https://www.ffmpeg.org/download.html#build-windows)

Steps:

  1. CD to this directory.
  2. Run cat ./autobuild-yt-dlp.cmd | cmd in your PowerShell or Command Prompt.

Issues I encountered while using yt-dlp

Long file name fix

–restrict-filenames -o 1.mp4

Premium

Add this argument:

--extractor-args "youtube:player_client=default,ios;formats=missing_pot"