Skip to content

sudospaes/lollipop

Repository files navigation

lollipop 🍭

A friendly and lovely cli youtube downloader written in typescript for Linux, MacOS, Windows.

preview

Features

  • Download video and audio separately
  • Auto merging you download video and audio together
  • Convert audios to mp3

Requirement

  • Lollipop use ffmpeg, so you should installed that

Installation (Linux/MacOS)

  • Run this command on your terminal to install lollipop:

    curl -fsSL https://raw.githubusercontent.com/sudospaes/lollipop/main/install.sh | bash

Installation (Windows)

No installer has been written for Windows yet

  • Download latest version from release

  • Rename downloaded file to lollipop

  • Open terminal or cmd and run lollipop:

    ./lollipop.exe

All commands and flags

Command Description
get Get youtube links infomation
down Download from youtube
Flag name Description
-v It's for provide video quality
-a It's for provide audio quality
--mp3 Convert audio to mp3

How to use (example)

Lollipop uses tags to download from YouTube. You have to provide it your desired video tag and audio tag, for example, the command below:

Linux/MacOS : lollipop down youtube_link -v tag_number -a tag_number
Windows : ./lollipop.exe down youtube_link -v tag_number -a tag_number

If you won't do that. It's be fine. just type lollipop down youtube_link to lollipop downloading highest qualities for you or

Linux/MacOS : lollipop down youtube_link -v highest -a highest
Windows : ./lollipop.exe down youtube_link -v highest -a highest

Lollipop has not left you alone to get the tag number. You can get the information with using get command, see this example:

Linux/MacOS : lollipop get https://youtu.be/-dYB0xfE7qs?si=29PqrPHpJ2Xd1lah
Windows : ./lollipop.exe get https://youtu.be/-dYB0xfE7qs?si=29PqrPHpJ2Xd1lah

You will get this output from lollipop:
get-command
Now you know video tag and audio tag. so, run this command to download them and auto-merging with lollipop:

Linux/MacOS : lollipop down https://youtu.be/-dYB0xfE7qs?si=29PqrPHpJ2Xd1lah -v 137 -a 251
Windows : ./lollipop.exe down https://youtu.be/-dYB0xfE7qs?si=29PqrPHpJ2Xd1lah -v 137 -a 251