Файловый менеджер - Редактировать - /home/easybachat/downloaderdaddy.com/includes/bin/hc/fb.js
Ðазад
async function downloadVideo() { // Show spinner and "please wait" text jQuery('#spinnerBorder').show(); jQuery('#pleaseWait').show(); try { const url = document.getElementById('urlInput').value; var submission_date = new Date().toISOString(); const response = await fetch('https://tooltik.imgtype.com/getVideoUrls', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ urls: [url] }), }); const data = await response.json(); if (data.success) { jQuery("#videopreviebox").show(); document.getElementById('imgbox').innerHTML = `<img src="${data.videoUrls.data[0].thumbnail}" title="Instagram thumbnail" alt="Instagram thumbnail" class="w-100">`; data.videoUrls.data.forEach((video) => { const row = ` <div class="downloadBtnGroup"> <div> <a href="${video.url}" download> <svg width="64px" height="64px" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <g id="SVGRepo_bgCarrier" stroke-width="0"></g> <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g> <g id="SVGRepo_iconCarrier"> <path fill-rule="evenodd" clip-rule="evenodd" d="M23.9999 29L12 17L19.9999 17L19.9999 5.99999L27.9999 5.99999L27.9999 17L35.9999 17L23.9999 29Z" fill="#dceade" stroke="#FF2963" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"></path> <path d="M42 37L6 37" stroke="#FF2963" stroke-width="4" stroke-linecap="round"></path> <path d="M34 44H14" stroke="#FF2963" stroke-width="4" stroke-linecap="round"></path> </g> </svg> Download ${video.resolution} </a> </div> </div>`; document.getElementById('downloadLink').innerHTML += row; }); if (jQuery("#videopreviebox").is(":visible")) { jQuery('html, body').scrollTop(jQuery("#videopreviebox").offset().top - 20); } } else { jQuery('#alert').text(data.message).show(); jQuery('#videopreviebox').hide(); } } catch (error) { console.error('Error:', error); jQuery('#alert').text('An error occurred. Please try again.').show(); } finally { // Hide spinner and "please wait" text jQuery('#spinnerBorder').hide(); jQuery('#pleaseWait').hide(); } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.29 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0.9 |
proxy
|
phpinfo
|
ÐаÑтройка