adding song_lyrics.rs

This module will allow for searching and finding songs in genius
lyrics and giving me the ability to get the lyrics from those songs.

The main function implemented is search_song first. From here we can
get the id of the songs we are looking for and then add the lyrics
into Lumina.
This commit is contained in:
Chris Cochrun 2024-01-23 14:47:28 -06:00
parent 27dc1d1bc8
commit e000f4458a
4 changed files with 120 additions and 2 deletions

5
Cargo.lock generated
View file

@ -1498,6 +1498,7 @@ dependencies = [
"obws",
"qt-build-utils",
"quote",
"reqwest",
"rfd",
"serde",
"serde_derive",
@ -2224,9 +2225,9 @@ checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f"
[[package]]
name = "reqwest"
version = "0.11.22"
version = "0.11.23"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "046cd98826c46c2ac8ddecae268eb5c2e58628688a5fc7a2643704a73faba95b"
checksum = "37b1ae8d9ac08420c66222fb9096fc5de435c3c48542bc5336c51892cffafb41"
dependencies = [
"base64",
"bytes",