How hritwiksinghal/clipboard-saavn-song-downloader works
Clipboard Saavn Song Downloader monitors copied JioSaavn URLs and downloads song audio as M4A into the configured music directory. The CLI can first process newline-separated URLs from a home-directory list, then continue monitoring the clipboard; the README also describes album, playlist, artist, and featured-page support, with playlist downloads partially enabled. The main workflow fetches Saavn metadata, decrypts the media URL, downloads the file, and adds audio tags. The graph reflects shown calls and documented behavior; unsampled details are not inferred.
Main entry points: clipboard-saavn-song-downloader.py CLI and loop · saavn_downloader.py Saavn download flow · downloader.py File downloader · tagger.py Metadata tagger
Components 16
Application entry
- CLI and loop
clipboard-saavn-song-downloader.py - Debug setup
set_debug.py - Update check
src/updater.py - Terminal colors
src/tools/colors.py
URL intake
- Clipboard monitor
src/gpaste.py - URL list file
Saavn metadata
- Saavn download flow
src/saavn_downloader.py - Saavn API client
src/tools/saavn_API.py
Audio processing
- Media URL decrypter
src/tools/saavn_API.py - File downloader
src/tools/downloader.py - Metadata tagger
src/tools/tagger.py - Tag cleanup tools
src/tools/toolbox.py
Other components
- User
- JioSaavn
- Saavn media CDN
- Downloaded music
Connections 20
- User → CLI and loop: launches
README.md - User → Clipboard monitor: copies URLs
README.md - CLI and loop → Debug setup: imports setup
clipboard-saavn-song-downloader.py - CLI and loop → Update check: checks updates
clipboard-saavn-song-downloader.py - CLI and loop → Saavn download flow: runs downloads
clipboard-saavn-song-downloader.py - CLI and loop → URL list file: reads URL list
README.md - Saavn download flow → Clipboard monitor: waits for paste
src/saavn_downloader.py - Saavn download flow → Saavn API client: fetches details
src/saavn_downloader.py - Saavn API client → JioSaavn: requests metadata
src/tools/saavn_API.py - Saavn download flow → Media URL decrypter: decrypts media URL
src/saavn_downloader.py - Saavn download flow → File downloader: starts download
src/saavn_downloader.py - Media URL decrypter → Saavn media CDN: checks media URLs
src/tools/saavn_API.py - File downloader → Saavn media CDN: downloads audio
src/tools/downloader.py - File downloader → Downloaded music: writes audio
src/tools/downloader.py - Saavn download flow → Metadata tagger: adds tags
src/saavn_downloader.py - Metadata tagger → Tag cleanup tools: cleans metadata
src/tools/tagger.py - Metadata tagger → Downloaded music: tags downloaded file
src/tools/tagger.py - CLI and loop → Terminal colors: formats output
clipboard-saavn-song-downloader.py - File downloader → Terminal colors: formats progress
src/tools/downloader.py - Update check → Terminal colors: formats status
src/updater.py