mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
add user agent header to lrclib fetch
This commit is contained in:
@@ -90,6 +90,9 @@ export async function query(
|
||||
|
||||
try {
|
||||
result = await axios.get<LrcLibTrackResponse>(FETCH_URL, {
|
||||
headers: {
|
||||
'User-Agent': 'LRCGET v0.2.0 (https://github.com/jeffvli/feishin)',
|
||||
},
|
||||
params: {
|
||||
album_name: params.album,
|
||||
artist_name: params.artist,
|
||||
|
||||
Reference in New Issue
Block a user