Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
LyricWikia
_ is an online wiki-based lyrics database and encyclopedia.
It used to provide full access to song lyrics via API, but the service
has been discontinued.
This API scrapes the song web page and returns the lyrics. Please verify
that your use complies with the LyricWikia
_ terms of service.
The package lyricwikia
is on PyPI
_, so you can install it using pip:
.. code::
pip install lyricwikia
Otherwise download this repository and use the setup.py
file:
.. code::
python setup.py install
It is also avaliable on the AUR for Arch Linux users: python-lyricwikia
_
You can use the lyrics
command to look for a song lyrics.
usage: lyrics [-h] [--separator SEPARATOR] [--version] ARTIST SONG
Get lyrics of a song from LyricWikia
positional arguments:
ARTIST Artist name
SONG Song title
optional arguments:
-h, --help show this help message and exit
--separator SEPARATOR
line separator
--version show program's version number and exit
.. code::
$ lyrics 'Led Zeppelin' 'Stairway to heaven'
There's a lady who's sure all that glitters is gold
...
At the moment lyricwikia
provides two APIs that are not officially already
provided by the official APIs):
get_lyrics(artist, song, linesep='\n', timeout=None)
: returns a string
that contains the lyrics of the song as provided by LyricWikia. If the
lyrics is not found, the LyricsNotFound
exception is raised.
get_all_lyrics(artist, song, linesep='\n', timeout=None)
: returns a list
of all the lyrics versions of the song (e.g., both the kanji and the
romaji versions if available). If the lyrics is not found, the
LyricsNotFound
exception is raised.
.. code:: python
import lyricwikia
lyrics = lyricwikia.get_lyrics('Led Zeppelin', 'Stairway to heaven')
spotify-downloader
_: download Spotify playlists with albumart and meta-tagsspotify-music-videos
_: watch Youtube music videos (and lyrics) for the currently playing Spotify songs.. _LyricWikia: http://lyrics.wikia.com .. _PyPI: https://pypi.python.org/pypi/lyricwikia .. _spotify-downloader: https://github.com/ritiek/spotify-downloader .. _python-lyricwikia: https://aur.archlinux.org/packages/python-lyricwikia/ .. _spotify-music-videos: https://github.com/marioortizmanero/spotify-music-videos
FAQs
LyricWikia API for song lyrics
We found that lyricwikia 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.