
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
A command line tool to fetch lyrics from spotify and save it to lrc file. It can fetch both synced and unsynced lyrics from spotify.
A command line tool to fetch lyrics from spotify and save it to lrc file. It can fetch both synced and unsynced lyrics from spotify. You can find API version at akashrchandran/spotify-lyrics-api.
You will need a spotify account, free also works for some limited songs but it's nice to have premium.
pip3 install syrics
pip3 install syrics --upgrade
To get more detailed installation guide please check wiki's installation page
Syrics sp_dc cookie to authenticate against Spotify in order to have access to the required services.
The methods are explained in the wiki.
When you run the program for the first time, it will directly create config and open editing.
To edit config
syrics --config
To reset config to default values
syrics --config reset
To open config in notepad or nano text editors
syrics --config open
After finding sp_dc you should edit config file and set sp_dc to the value you found.
Default values of config
{
"sp_dc": "",
"download_path": "downloads",
"create_folder": true,
"album_folder_name": "{name} - {artists}",
"play_folder_name": "{name} - {owner}",
"file_name": "{track_number}. {name}",
"synced_lyrics": true,
"force_download": false,
"force_synced": false
}
See wiki for more details about the format tag detailts in config keys.
Make sure you have set the congig before starting
syrics
Enter link: https://open.spotify.com/track/2eAvDnpXP5W0cVtiI0PUxV
It will ask for the link
syrics https://open.spotify.com/track/2eAvDnpXP5W0cVtiI0PUxV
changing download folder command
syrics --directory ~/Music/songs/ https://open.spotify.com/track/2eAvDnpXP5W0cVtiI0PUxV
download current playing song on authorized account
syrics --user current-playing
downloading from user playlist
syrics --user playlist
To see available commands
syrics -h
syrics /home/public_user/Music/songs
from syrics.api import Spotify
sp = Spotify("SP_DC here!")
sp.get_lyrics("28RQx5pH9T9LZXY02IheWc")
FAQs
A command line tool to fetch lyrics from spotify and save it to lrc file. It can fetch both synced and unsynced lyrics from spotify.
We found that syrics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.