Skip to content

Instantly share code, notes, and snippets.

@ReeganExE
Created January 3, 2020 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ReeganExE/39137bcbb26a7fece28bd8e60eb8ded2 to your computer and use it in GitHub Desktop.
Save ReeganExE/39137bcbb26a7fece28bd8e60eb8ded2 to your computer and use it in GitHub Desktop.
Facebook video downloader
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