forked from thatriple-e/OURMUMMY-MD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtiktokdl2.smd
62 lines (31 loc) · 5.91 KB
/
tiktokdl2.smd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/**
//════════════════════════════════════════════════════════════════════════════════════════════//
// //
// WHATSAPP BOT-MD BETA //
// //
// V:2.5.0 //
// //
// //
// ██████╗ ██╗███████╗████████╗███████╗██████╗ ███╗ ███╗██████╗ //
// ██╔════╝ ██║██╔════╝╚══██╔══╝██╔════╝██╔══██╗ ████╗ ████║██╔══██╗ //
// ██║ ███╗██║█████╗ ██║ █████╗ ██║ ██║ ██╔████╔██║██║ ██║ //
// ██║ ██║██║██╔══╝ ██║ ██╔══╝ ██║ ██║ ██║╚██╔╝██║██║ ██║ //
// ╚██████╔╝██║██║ ██║ ███████╗██████╔╝ ██║ ╚═╝ ██║██████╔╝ //
// ╚═════╝ ╚═╝╚═╝ ╚═╝ ╚══════╝╚═════╝ ╚═╝ ╚═╝╚═════╝ //
// //
// //
// //
// //
//════════════════════════════════════════════════════════════════════════════════════════════//
*
* @project_name : Gifted-Md
* @author : Gifted Tech.
* @youtube : https://www.youtube.com/@giftedtechnexus
* @description : Gifted-Md ,A Multi-functional whatsapp user bot.
* @version 2.5.0
*
*
* Created By Gifted Tech.
* © 2024 Gifted-Md.
*/
const _0x2fd133=_0x56af;function _0x56af(_0xcf64c7,_0x367169){const _0x3673ab=_0x3673();return _0x56af=function(_0x56af59,_0xea60c0){_0x56af59=_0x56af59-0x125;let _0x34524a=_0x3673ab[_0x56af59];return _0x34524a;},_0x56af(_0xcf64c7,_0x367169);}(function(_0x2f9be7,_0x43ca3e){const _0x177cc5=_0x56af,_0x259161=_0x2f9be7();while(!![]){try{const _0x526052=parseInt(_0x177cc5(0x132))/0x1+parseInt(_0x177cc5(0x129))/0x2*(-parseInt(_0x177cc5(0x128))/0x3)+parseInt(_0x177cc5(0x131))/0x4+-parseInt(_0x177cc5(0x149))/0x5*(-parseInt(_0x177cc5(0x12a))/0x6)+-parseInt(_0x177cc5(0x138))/0x7+parseInt(_0x177cc5(0x12d))/0x8+-parseInt(_0x177cc5(0x13a))/0x9;if(_0x526052===_0x43ca3e)break;else _0x259161['push'](_0x259161['shift']());}catch(_0x223ffe){_0x259161['push'](_0x259161['shift']());}}}(_0x3673,0x5be96));let baseApi=process[_0x2fd133(0x139)][_0x2fd133(0x12c)]||global[_0x2fd133(0x137)]||'https://api-smd-1.vercel.app',maher_api=_0x2fd133(0x127);function _0x3673(){const _0x40fc4c=['../lib/plugins','test','../lib','2047612XKNEBX','422009ODcSJl','download/tiktok2?url=','chat','data','fs-extra','api_smd','1107680QNhtdC','env','6540498kCHarP','<add\x20tiktok\x20url.>','nowm','secktor-pack','get','node-fetch','ttdl2','downloader','log','aptoide-scraper','*Please\x20Give\x20Me\x20Valid\x20Tiktok\x20Video\x20Link*','tt2','url','Downloads\x20Tiktok\x20Videos\x20Via\x20Url.','\x0a*_Error\x20Occured\x20While\x20Downloading\x20Your\x20Media_*\x0a_','25nntMRS','send','tiktok2','buffer','ytdl-secktor','result','https://api.maher-zubair.tech','3CXEMTm','5330HNlqOW','136398bDuCTK','split','API_SMD','1732160wjswlI'];_0x3673=function(){return _0x40fc4c;};return _0x3673();}const {smd,fetchJson,smdJson,fancytext,yt,getBuffer,smdBuffer,pinterest,prefix,Config,mediafire}=require(_0x2fd133(0x130)),{search,download}=require(_0x2fd133(0x143)),googleTTS=require('google-tts-api'),ytdl=require(_0x2fd133(0x125)),yts=require(_0x2fd133(0x13d)),fs=require(_0x2fd133(0x136)),axios=require('axios'),fetch=require(_0x2fd133(0x13f));var videotime=0x7d0;const {cmd}=require(_0x2fd133(0x12e));smd({'pattern':_0x2fd133(0x14b),'alias':[_0x2fd133(0x145),_0x2fd133(0x140)],'desc':_0x2fd133(0x147),'category':_0x2fd133(0x141),'filename':__filename,'use':_0x2fd133(0x13b)},async(_0xeb7849,_0x519177,_0x3b6d77)=>{const _0x4a9608=_0x2fd133;try{let _0x1397c8=_0x3b6d77[_0x4a9608(0x12b)]('\x20')[0x0];if(!/tiktok/[_0x4a9608(0x12f)](_0x1397c8))return await _0x519177[_0x4a9608(0x14a)](_0x4a9608(0x144));let _0x59be53=await axios[_0x4a9608(0x13e)](maher_api+_0x4a9608(0x133)+_0x1397c8);const _0x2ad8e5=_0x59be53[_0x4a9608(0x135)],_0x2ec923=_0x2ad8e5[_0x4a9608(0x126)][_0x4a9608(0x146)][_0x4a9608(0x13c)],_0x5f32d=await fetch(_0x2ec923),_0x2cadc2=await _0x5f32d[_0x4a9608(0x14c)]();await _0xeb7849['send'](_0x519177[_0x4a9608(0x134)],_0x2cadc2);}catch(_0x4dcee0){_0x519177['send'](_0x4a9608(0x148)+_0x4dcee0+'_'),console[_0x4a9608(0x142)](_0x4dcee0);}});