wolfyflutter

tikwm tiktok skrep

Feb 8th, 2026 (edited)
119
0
Never
11
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.77 KB | Source Code | 0 0
  1. //ttdl skrep, by wolep
  2. //base https://www.tikwm.com/
  3.  
  4. const ttdl = async (tturl) => {
  5.     const r = await fetch("https://www.tikwm.com/api/", {
  6.         "headers": {
  7.             "accept": "application/json, text/javascript, */*; q=0.01",
  8.             "accept-encoding": "gzip, deflate, br, zstd",
  9.             "content-type": "application/x-www-form-urlencoded; charset=UTF-8",
  10.             "x-requested-with": "XMLHttpRequest"
  11.         },
  12.         "body": "url=" + encodeURIComponent(tturl),
  13.         "method": "POST",
  14.     })
  15.     if (!r.ok) throw Error(`${r.status} ${r.statusText} on ${new URL(r).hostname}`)
  16.     const j = await r.json()
  17.     return j
  18. }
  19.  
  20.  
  21. // cara pakai
  22. ttdl('https://www.tiktok.com/@dibdiby/video/7599276125746892053')
  23. .then(console.log)
  24. .catch(console.log)
Tags: tiktok
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
Add Comment
Please, Sign In to add comment