Added tracks to db, beginning to get playlist creation
This commit is contained in:
@@ -50,7 +50,7 @@ impl LastfmClient {
|
||||
artist_mbid: &str,
|
||||
) -> Result<Vec<SimilarArtist>, Box<dyn std::error::Error>> {
|
||||
let url = format!(
|
||||
"{}?method=artist.getSimilar&mbid={}&api_key={}&format=json",
|
||||
"{}?method=artist.getSimilar&mbid={}&api_key={}&limit=500&format=json",
|
||||
BASE_URL, artist_mbid, self.api_key
|
||||
);
|
||||
let body: String = ureq::get(&url).call()?.body_mut().read_to_string()?;
|
||||
|
||||
Reference in New Issue
Block a user