I got the same problem as one of the closed (and never solved) issues. Its working on my computer but when I push it to the server it only returns 403. Maybe its the reverse proxy that causes the issue. It returns html that contains some sort of captcha.
Code is quite simple:
const genius = require('genius-lyrics-api')
function getLyrics(title) {
var searchOptions = {
title: title,
artist: " ",
apiKey: "XXX",
optimizeQuery: true
}
genius.getLyrics(searchOptions).then((lyrics) => {
console.log(lyrics);
});
}
Originally posted by @nicokimmel in #21 (comment)
I got the same problem as one of the closed (and never solved) issues. Its working on my computer but when I push it to the server it only returns 403. Maybe its the reverse proxy that causes the issue. It returns html that contains some sort of captcha.
Code is quite simple:
Originally posted by @nicokimmel in #21 (comment)