Skip to content

nahidfarazi/youtube-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

youtube video downloader

make sure yt-dlp install

    yt-dlp --version

if no version return , follow the step

    sudo rm /usr/lib/python3.*/EXTERNALLY-MANAGED
    sudo pip install --user yt-dlp
    sudo chmod +x /usr/local/bin/yt-dlp

if don't install use,alter native way

    python3 -m venv .venv
    source .venv/bin/activate
    nano ~/.bashrc
    export PATH="$HOME/.local/bin:$PATH"
    source ~/.bashrc
    yt-dlp --version

Install FFmpeg:

For Linux (Ubuntu/Debian-based systems)

    sudo apt install ffmpeg

Verify FFmpeg installation:

    ffmpeg -version
If FFmpeg is installed successfully, you'll see the version details printed to the terminal.

For macOS:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install FFmpeg via Homebrew:

    brew install ffmpeg

For Windows:

 1.Download FFmpeg:
    Go to the FFmpeg official website and download the Windows build.

FFmpeg official website

2.Extract the downloaded ZIP file:
    Extract the files to a folder (e.g., C:\ffmpeg).

3.Add FFmpeg to your PATH:
    Open System Properties > Advanced > Environment Variables.
    Under "System variables," find the Path variable, and click "Edit."
    Add the path to the bin folder inside the FFmpeg folder (e.g., C:\ffmpeg\bin).

now install app:

git clone https://github.com/nahidfarazi/youtube-downloader/
cd youtube-downloader

download command for video :

./yd download "link" -r 1080

download command for audio :

./yd audio "link"    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published