Put an identifiable user-agent to comply with Last.fm API
This commit is contained in:
parent
772914f6bf
commit
b1304b9956
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ module.exports = (bot) => {
|
|||
api_key: Config.lastKey,
|
||||
format: 'json',
|
||||
limit: 1
|
||||
},
|
||||
headers: {
|
||||
'User-Agent': "lastfm-node"
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue