Forwarded from You Tube | Downloader
This media is not supported in your browser
VIEW IN TELEGRAM
Simulation of the U.S.-Russia Nuclear War | Simulation
<div class="animated_rainbow_1">Animated Linear</div> <style> .animated_rainbow_1 { font-size: 42px; font-family: Arial Black, Gadget, sans-serif; background-image: -webkit-linear-gradient(left, #f00, #ff2b00, #f50, #ff8000, #fa0, #ffd500, #ff0, #d4ff00, #af0, #80ff00, #5f0, #2bff00, #0f0, #00ff2a, #0f5, #00ff80, #0fa, #00ffd5, #0ff, #00d5ff, #0af, #0080ff, #05f, #002aff, #00f, #2b00ff, #50f, #8000ff, #a0f, #d400ff, #f0f, #ff00d4, #f0a, #ff0080, #f05, #ff002b, #f00); -webkit-animation: animatedBackground_a 5s linear infinite alternate; -webkit-background-clip: text; -webkit-text-fill-color: #0000; background-clip: text; } @keyframes animatedBackground_a { 0% { background-position: 0 0 } 100% { background-position: -500px 0 } } </style>
<!DOCTYPE html>
<html>
<head>
<title>Search Music and Send to Telegram</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>
<script>
// Deezer API endpoint
const deezerApiUrl = 'https://api.deezer.com/search';
// Token and chat ID for Telegram
const token = 'token_bot';
const chatId = '@Html_codee';
// Function to search music and send to Telegram
function searchAndSendMusic(query) {
// Make a GET request to Deezer API
$.ajax({
url: deezerApiUrl,
method: 'GET',
data: {
q: query
},
success: function(response) {
// Get all audio results
const audioResults = response.data;
// Send each audio result to Telegram
audioResults.forEach(function(audio) {
const audioUrl = audio.preview;
// Send audio to Telegram using the Telegram Bot API
$.ajax({
url:
method: 'POST',
data: {
chat_id: chatId,
audio: audioUrl
},
success: function(response) {
console.log('Audio sent to Telegram:', audioUrl);
},
error: function(error) {
console.error('Error sending audio to Telegram:', error);
}
});
});
},
error: function(error) {
console.error('Error searching music:', error);
}
});
}
// Call the function with the desired music query
searchAndSendMusic('iu');
</script>
</body>
</html>
<html>
<head>
<title>Search Music and Send to Telegram</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
</head>
<body>
<script>
// Deezer API endpoint
const deezerApiUrl = 'https://api.deezer.com/search';
// Token and chat ID for Telegram
const token = 'token_bot';
const chatId = '@Html_codee';
// Function to search music and send to Telegram
function searchAndSendMusic(query) {
// Make a GET request to Deezer API
$.ajax({
url: deezerApiUrl,
method: 'GET',
data: {
q: query
},
success: function(response) {
// Get all audio results
const audioResults = response.data;
// Send each audio result to Telegram
audioResults.forEach(function(audio) {
const audioUrl = audio.preview;
// Send audio to Telegram using the Telegram Bot API
$.ajax({
url:
https://api.telegram.org/bot${token}/sendAudio,method: 'POST',
data: {
chat_id: chatId,
audio: audioUrl
},
success: function(response) {
console.log('Audio sent to Telegram:', audioUrl);
},
error: function(error) {
console.error('Error sending audio to Telegram:', error);
}
});
});
},
error: function(error) {
console.error('Error searching music:', error);
}
});
}
// Call the function with the desired music query
searchAndSendMusic('iu');
</script>
</body>
</html>
Html codes
<!DOCTYPE html> <html> <head> <title>Search Music and Send to Telegram</title> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> </head> <body> <script> // Deezer API endpoint const deezerApiUrl = 'https://api…
This api send music with telegram bot to send music name to chat