How to Install ydl_api_ng on Windows 11

Introduction

ydl_api_ng is a Python library for interacting with the YouTube-DL API. In this tutorial, we will learn how to install ydl_api_ng on Windows 11.

Prerequisites

  • Python 3.x installed on your machine.
  • pip package manager installed.

Step-by-Step Guide

  1. Open your preferred command-line interface such as Windows PowerShell or Command Prompt.

  2. Clone ydl_api_ng repository from the given link - https://github.com/Totonyus/ydl_api_ng.git

    git clone https://github.com/Totonyus/ydl_api_ng.git
    
  3. Navigate to where the repository is cloned.

    cd ydl_api_ng
    
  4. Install the required Python packages.

    pip install -r requirements.txt
    
  5. Install ydl_api_ng package.

    python setup.py install
    
  6. Confirm the installation is complete and check the version.

    python -c "import ydl_api_ng; print(ydl_api_ng.__version__)"
    

You have successfully installed ydl_api_ng. You can now start using the library to interact with YouTube-DL API.