-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
<!doctype html>
<title>IG Public Reel Fetcher</title> <style> body{font-family:system-ui,Arial;margin:20px} input{width:100%;padding:10px;margin:8px 0} button{padding:10px 16px} .result{margin-top:12px;padding:12px;border:1px solid #ddd;border-radius:8px} </style>Instagram public reel fetcher (with permission)
Paste public Instagram post / reel URL (e.g. https://www.instagram.com/reel/xxxx )
Fetch video URL <script> document.getElementById('go').onclick = async () => { const url = document.getElementById('url').value.trim(); if(!url){ alert('Paste a URL'); return; } const out = document.getElementById('out'); out.innerHTML = 'Fetching...'; try { const res = await fetch('/api/fetch', { method:'POST', headers: {'Content-Type':'application/json'}, body: JSON.stringify({url}) }); const data = await res.json(); if(res.ok){ out.innerHTML = ''; } else { out.innerHTML = ''+(data.error || 'Error')+'
';
}
} catch(e){
out.innerHTML = 'Network error
';
}
}
</script>
Metadata
Metadata
Assignees
Labels
No labels