genius_lyrics

Crates.iogenius_lyrics
lib.rsgenius_lyrics
version1.0.4
sourcesrc
created_at2021-12-12 14:07:29.291769
updated_at2023-08-23 20:11:38.708742
descriptionFetches lyrics of song from genius by it's URL
homepage
repositoryhttps://github.com/dinaraparanid/genius_lyrics
max_upload_size
id496557
size40,938
Arseny Savchenko (dinaraparanid)

documentation

README

Genius Lyrics Fetcher

crates.io Rust

Fetches lyrics of song from genius by it's URL

Example

extern crate tokio;
use genius_lyrics::get_lyrics_from_url;

#[tokio::main]
async fn main() {
    println!(
        "{}",
        get_lyrics_from_url("https://genius.com/Michael-jackson-bad-lyrics")
            .await
            .unwrap()
    )
}
Commit count: 5

cargo fmt