Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Reno-03/ilkpop-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎶 Bulk Kpop Downloader 🎶

Python Selenium ilKPOP License: MIT

This Python script downloads all Kpop songs based on ARTIST from ilKPOP. It fetches search results and handles the download process with Requests and Selenium.

Demo

Features

  • Search by artist.
  • Download all songs in a specific page automatically.
  • Uses Chromium-based browser like Brave to remove pop-ups and ads.
  • Command-line interface for flexibility.

Requirements

  • Python 3.8+
  • Brave Browser (for no popups)
  • Python packages:
    • requests
    • selenium
    • beautifulsoup4
    • webdriver-manager (optional, recommended)

Run the Script Locally

Open Command Prompt, clone the repository and go to directory:

git clone https://github.com/Reno-03/ilkpop-downloader.git
cd ilkpop-downloader

Create a Python Environment and activate it:

python -m venv .venv
.venv\Scripts\activate.bat

Install all Python packages using:

pip install -r requirements.txt

Run the script with:

python main.py --page=<PAGE_NUMBER> --search="<SEARCH_KEYWORD>"

Examples

  • Download page 1 results for Stray Kids:
python main.py --page=1 --search="Stray Kids"
  • Download page 2 results for BTS:
python main.py --page=2 --search="BTS"

Command-line arguments

Argument Description Default
--page Page number of search results 1
--search Search keyword (artist/song) "Stray Kids"

Song File Directory

The downloaded songs are saved at:

/kpop_songs/<artist_name>/

How it works

  1. Sends a GET request to ilkpop.com to fetch search results.
  2. Parses HTML with BeautifulSoup to extract download links.
  3. Retrieves the MP3 URL then downloads it using Requests.
  4. The downloaded file is renamed properly, including Korean characters.
  5. Repeats for all links on the search results page.

Notes

  • Make sure Brave version and Brave version match.
  • Pop-ups are automatically closed to avoid interruptions.
  • The script currently runs in a visible browser window (not headless).

TODO

  • Download all songs of an artist based on ALL pages.
  • Download with multiple artist search queires.
  • Filter the number of songs downloaded in a specific page.

About

Python Script to download songs based on a K-pop Artist. Built using Selenium, Beautiful Soup, and Python Requests.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages