A command-line tool for downloading tracks and complete albums from SongSara.
Powered by Playwright browser automation.
Songsara Downloader is a Python-based command-line application that extracts track information and downloads audio from SongSara.
It uses Playwright to work with SongSara's browser-rendered pages, including pages that require an authenticated session. You can download an individual track or process an album's tracklist sequentially.
- Browser-powered extraction — uses Playwright to read dynamically rendered SongSara pages.
- Login and persistent session — sign in through the browser and reuse the saved session.
- Single-track downloads — download an individual track from a supported SongSara page.
- Album downloads — extract an album tracklist and download its tracks in order.
- Skip existing files — avoid downloading tracks that are already present.
- Safer file handling — download to a temporary
.partfile and move it to its final name only after the download completes. - Clear summary — see how many tracks were downloaded, skipped, or failed.
- Python 3.10 or newer
- pip
- A working internet connection
- Chromium for Playwright
git clone https://github.com/hasssan-hasssan/Songsara-Downloader.git
cd Songsara-DownloaderWindows (PowerShell)
python -m venv .venv
.venv\Scripts\Activate.ps1Linux / macOS
python3 -m venv .venv
source .venv/bin/activatepython -m pip install --upgrade pip
pip install -e .playwright install chromiumIf a page or track requires an authenticated session, start the login flow:
songsara --loginComplete the sign-in process in the browser window. The browser session is saved for subsequent runs.
Pass the SongSara page URL with --url and choose an output directory with --dest:
songsara --url "https://songsara.net/72102/" --dest "./downloads"The downloader detects the page content and processes the available track or album tracklist.
songsara --helpShow the installed version:
songsara --version- Album tracks are processed sequentially.
- Existing completed files are skipped.
- In-progress downloads use the
.partsuffix. - A temporary file is promoted to its final filename only after a successful download.
- At the end, the CLI reports downloaded, skipped, and failed counts.
Note: If a download is interrupted, its incomplete temporary file is not treated as a completed track. The track is downloaded again from the beginning on the next run; byte-level resume is not currently supported.
Install the project in editable mode as shown above. After changing the source code, run the CLI from the activated environment:
songsara --helpPlease include the following when reporting a bug:
- Your operating system and Python version
- The command you ran (remove any private information)
- The relevant error output
- Whether the page requires a SongSara login
Never share session files, cookies, passwords, or other authentication data in an issue.
This project is an independent, community-developed tool and is not affiliated with, endorsed by, or sponsored by SongSara.
Only download content that you are legally entitled to access and save. Respect copyright, the rights of artists and rights holders, and SongSara's terms and applicable laws. You are responsible for how you use this software.
Bug reports, ideas, and pull requests are welcome.
- Fork the repository.
- Create a branch for your change.
- Make and test your changes.
- Open a pull request with a clear description of the problem and solution.
This project is licensed under the MIT License.
Made with care for music lovers and command-line enthusiasts.