wolfyflutter

facebook video downloader [facebook] [downloader] [official api]

Jun 23rd, 2025 (edited)
399
0
Never
8
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 1.67 KB | Source Code | 0 0
  1. /*
  2.    judul  : fesnuk video downloader
  3.    note   : kalau error pakek ini aja : https://pastebin.com/pett3fYu        
  4.    by     : wolep
  5.    node   : v24.11.1
  6.    update : hari ini
  7. */
  8.  
  9.  
  10. const fbvdl = async function (fburl) {
  11.     const headers = {
  12.         "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
  13.         "accept-encoding": "gzip, deflate, br, zstd",
  14.         "sec-fetch-site": "none",
  15.         "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0"
  16.     }
  17.     const r = await fetch(fburl, {headers})
  18.     const html = await r.text()
  19.  
  20.     const ev = (string) => eval(`'${string}'`).replaceAll('amp;','')
  21.     const audioUrl = html.match(/mime_type":"audio\\\/mp4","codecs":"mp4a\.40\.5","base_url":"(.+?)"."/)?.[1]
  22.     const videoHdUrl = html.match(/browser_native_hd_url":"(.+?)","/)?.[1]
  23.     const videoSdUrl = html.match(/browser_native_sd_url":"(.+?)","/)?.[1]
  24.     let thumbnailUrl = html.match(/thumbnail":"(.+?)","/)?.[1]
  25.     if(!thumbnailUrl) thumbnailUrl = html.match(/"og:image" content="(.+?)" \//)?.[1]
  26.  
  27.     const obj = {
  28.         videoHdUrl: ev(videoHdUrl),
  29.         videoSdUrl: ev(videoSdUrl),
  30.         audioUrl: ev(audioUrl),
  31.         thumbnailUrl: ev(thumbnailUrl)
  32.     }
  33.     return obj
  34. }
  35.  
  36.  
  37. fbvdl(url1)
  38. .then(console.log)
  39.  
  40. /*output
  41. {
  42.   videoHdUrl: 'https://video.fdps2...h264-basic-gen2_720p',
  43.   videoSdUrl: 'https://video.fdps2-1.fna.fbcdn.net/o1/v/t2/f2/m...97&tag=sve_sd',
  44.   audioUrl: 'https://video.fdp...B49',
  45.   thumbnailUrl: 'https://sc...AdcCg&oe=693F3B03'
  46. }
  47.  
  48. */
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Dumorep
    26 min
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=gokbchjqug
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment