forked from Johanlieb34/TojiMd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdl-facebook.js
1 lines (1 loc) · 2.76 KB
/
dl-facebook.js
1
const _0x19e96e=_0x34da;(function(_0x2d8479,_0x236c7a){const _0x4ef387=_0x34da,_0x5d6fe1=_0x2d8479();while(!![]){try{const _0x30b020=parseInt(_0x4ef387(0x16f))/0x1+parseInt(_0x4ef387(0x163))/0x2*(-parseInt(_0x4ef387(0x168))/0x3)+parseInt(_0x4ef387(0x16d))/0x4+parseInt(_0x4ef387(0x169))/0x5*(parseInt(_0x4ef387(0x17d))/0x6)+-parseInt(_0x4ef387(0x17a))/0x7+-parseInt(_0x4ef387(0x174))/0x8*(parseInt(_0x4ef387(0x171))/0x9)+parseInt(_0x4ef387(0x16e))/0xa*(parseInt(_0x4ef387(0x16c))/0xb);if(_0x30b020===_0x236c7a)break;else _0x5d6fe1['push'](_0x5d6fe1['shift']());}catch(_0x5e9b50){_0x5d6fe1['push'](_0x5d6fe1['shift']());}}}(_0x53f8,0x1d35f));function _0x34da(_0x54774d,_0x388c51){const _0x53f888=_0x53f8();return _0x34da=function(_0x34da05,_0x1ef19f){_0x34da05=_0x34da05-0x163;let _0x5d7599=_0x53f888[_0x34da05];return _0x5d7599;},_0x34da(_0x54774d,_0x388c51);}function _0x53f8(){const _0x85ad3f=['18940rJkMpt','\x0a⊱\x20HERE\x20IS\x20YOUR\x20VIDEO\x20⊰\x0a\x0a\x0a↳\x20*VIDEO\x20TITLE:*\x20','✳️\x20Please\x20send\x20the\x20link\x20of\x20a\x20Facebook\x20video\x0a\x0a📌\x20EXAMPLE\x20:\x0a*','11XAVOey','793780xrcIgx','184610MrydRh','186642Dtpzfu','videoUrl','1935ujvLBr','diamond','🍼\x20An\x20error\x20occurred\x20while\x20processing\x20the\x20request.\x20Please\x20try\x20again\x20later.','4144cewlTU','from','chat','*\x20https://www.facebook.com/Ankursajiyaan/videos/981948876160874/?mibextid=rS40aB7S9Ucbxw6v','tags','\x0a\x0a\x0a⊱\x20THANKS\x20FOR\x20CHOOSING\x20TOJI\x20MD','1313382VyPhmT','🍼\x20PLEASE\x20GIVE\x20A\x20VALID\x20URL.','facebook\x20<url>','276JRZOkK','318306YqjHTM','fbdl','downloader','reply','command','3uEpsqB'];_0x53f8=function(){return _0x85ad3f;};return _0x53f8();}import _0x108033 from'api-dylux';const handler=async(_0x12c253,{conn:_0x2f4fa4,args:_0x7ddca7,usedPrefix:_0x157f07,command:_0x14015b})=>{const _0x1acbe8=_0x34da;if(!_0x7ddca7[0x0])throw _0x1acbe8(0x16b)+(_0x157f07+_0x14015b)+_0x1acbe8(0x177);const _0x371214=/^(?:https?:\/\/)?(?:www\.)?(?:facebook\.com|fb\.watch)\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/i;if(!_0x371214['test'](_0x7ddca7[0x0]))throw _0x1acbe8(0x17b);_0x12c253['react'](rwait);try{const _0x374a4b=await _0x108033[_0x1acbe8(0x164)](_0x7ddca7[0x0]),_0x241066=_0x1acbe8(0x16a)+_0x374a4b['title']+_0x1acbe8(0x179),_0x1a57ea=await fetch(_0x374a4b[_0x1acbe8(0x170)]),_0x14a732=await _0x1a57ea['arrayBuffer'](),_0x61525c=Buffer[_0x1acbe8(0x175)](_0x14a732);_0x2f4fa4['sendFile'](_0x12c253[_0x1acbe8(0x176)],_0x61525c,'fb.mp4',_0x241066,_0x12c253),_0x12c253['react'](done);}catch(_0x510ab9){console['log'](_0x510ab9),_0x12c253[_0x1acbe8(0x166)](_0x1acbe8(0x173));}};handler['help']=[_0x19e96e(0x17c)],handler[_0x19e96e(0x178)]=[_0x19e96e(0x165)],handler[_0x19e96e(0x167)]=/^((facebook|fb)(downloder|dl)?)$/i,handler[_0x19e96e(0x172)]=!![];export default handler;