Created
January 3, 2020 16:44
-
-
Save ReeganExE/39137bcbb26a7fece28bd8e60eb8ded2 to your computer and use it in GitHub Desktop.
Facebook video downloader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var body = new FormData(); | |
body.append('URLz', prompt('link:')); | |
await fetch('https://fbdown.net/download.php', { | |
method: 'post', | |
body: body | |
}).then(a => a.text()).then(a => new DOMParser().parseFromString(a, 'text/html').getElementById('hdlink').href); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment