Update release.js
This commit is contained in:
@@ -38,7 +38,7 @@ async function searchShikimoriAnime(titleRu, titleEn) {
|
||||
limit: 1,
|
||||
},
|
||||
headers: {
|
||||
'User-Agent': 'YourAppName', // Замени на имя твоего приложения
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',
|
||||
},
|
||||
timeout: 5000,
|
||||
});
|
||||
@@ -55,7 +55,7 @@ async function fetchShikimoriCharacters(animeId) {
|
||||
try {
|
||||
const response = await axios.get(`https://shikimori.one/api/animes/${animeId}/roles`, {
|
||||
headers: {
|
||||
'User-Agent': 'YourAppName', // Замени на имя твоего приложения
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36',
|
||||
},
|
||||
timeout: 5000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user