ruhend-scraper 8.0.0 → 8.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/tiktok.js CHANGED
@@ -1 +1 @@
1
- var _0xe863d4=_0x454d;function _0x454d(_0x2b82ed,_0x851373){var _0x2039ce=_0x80bd();return _0x454d=function(_0x29112a,_0x208ac4){_0x29112a=_0x29112a-(0x2310+0x1296+-0x3491);var _0x58988a=_0x2039ce[_0x29112a];return _0x58988a;},_0x454d(_0x2b82ed,_0x851373);}(function(_0xc6bcd6,_0x30510c){var _0xaa081d=_0x454d,_0x44b4c6=_0xc6bcd6();while(!![]){try{var _0x351d80=parseInt(_0xaa081d(0x147))/(-0x16e3+-0x1*0x727+0x1e0b)*(parseInt(_0xaa081d(0x115))/(0x20b+-0x1*-0x2c6+0x1*-0x4cf))+parseInt(_0xaa081d(0x131))/(0x407+-0x1a39+0x3*0x767)+parseInt(_0xaa081d(0x117))/(-0xb52+-0x1fdf+0x2b35)+-parseInt(_0xaa081d(0x12a))/(-0x1*0xcf4+-0x1*-0x261b+-0x1922)+-parseInt(_0xaa081d(0x14a))/(0x1*-0x1484+0x1d*0xb9+-0x6b)+parseInt(_0xaa081d(0x119))/(0x1747+0x1*-0x15bb+0x185*-0x1)*(parseInt(_0xaa081d(0x120))/(0x18c+-0x5*0x338+0xe94))+-parseInt(_0xaa081d(0x12f))/(0x1*-0x1b91+0x943*-0x3+0x3763);if(_0x351d80===_0x30510c)break;else _0x44b4c6['push'](_0x44b4c6['shift']());}catch(_0x47c89c){_0x44b4c6['push'](_0x44b4c6['shift']());}}}(_0x80bd,0x1*-0x6beb5+-0x1*0x10276+-0x155e*-0xa2));const fetch=require(_0xe863d4(0x11e));async function ttdl(_0x4d100f){var _0x29412b=_0xe863d4,_0x4a63d0={'nikDc':function(_0x2c02f0){return _0x2c02f0();},'DtqcI':function(_0x1d1e9b){return _0x1d1e9b();},'JSXUf':_0x29412b(0x141)+_0x29412b(0x13b)+_0x29412b(0x139)+_0x29412b(0x129)+_0x29412b(0x126),'OqWTL':function(_0x185b6e,_0x4cdaf9,_0x45f116){return _0x185b6e(_0x4cdaf9,_0x45f116);},'jEiGi':function(_0x258ba5){return _0x258ba5();},'bFOUs':function(_0x53b360,_0x1ba4ee){return _0x53b360*_0x1ba4ee;},'IUCap':function(_0x536695,_0x472e1a){return _0x536695/_0x472e1a;},'PWHmk':function(_0x1df448,_0x3e4037){return _0x1df448%_0x3e4037;},'AcOaM':_0x29412b(0x13a)+_0x29412b(0x128)};try{function _0x196465(){var _0x15c464=_0x29412b;const _0xd2ca33=()=>Math[_0x15c464(0x11f)](Math[_0x15c464(0x11a)]()*(0x9*-0x1fa+0x1294+0x4*0xd));return _0x4a63d0[_0x15c464(0x13c)](_0xd2ca33)+'.'+_0x4a63d0[_0x15c464(0x140)](_0xd2ca33)+'.'+_0x4a63d0[_0x15c464(0x13c)](_0xd2ca33)+'.'+_0x4a63d0[_0x15c464(0x13c)](_0xd2ca33);}var _0x447c85=_0x4a63d0[_0x29412b(0x13f)],_0x4bf9ac=''+_0x447c85+_0x4d100f,_0x291c68=await _0x4a63d0[_0x29412b(0x123)](fetch,_0x4bf9ac,{'headers':{'X-Forwarded-For':_0x4a63d0[_0x29412b(0x116)](_0x196465)}}),_0x5e7d75=await _0x291c68[_0x29412b(0x137)](),_0x2743c0=_0x5e7d75[_0x29412b(0x136)],_0x324937=_0x2743c0[_0x29412b(0x11d)],_0x6dbc28=_0x2743c0[_0x29412b(0x125)][_0x29412b(0x12e)],_0x23064e=_0x2743c0[_0x29412b(0x125)][_0x29412b(0x148)],_0x43a5f7=_0x2743c0[_0x29412b(0x146)+'e'],_0x1214a0=new Date(_0x4a63d0[_0x29412b(0x130)](_0x43a5f7,-0x150a+-0x2680+0x3f72*0x1)),_0x25f8b0=_0x1214a0[_0x29412b(0x11c)+_0x29412b(0x143)](),_0x421b1a=_0x25f8b0[_0x29412b(0x132)](),_0x2e2b67=_0x2743c0[_0x29412b(0x124)],_0x259918=_0x2e2b67[_0x29412b(0x12c)+_0x29412b(0x122)](),_0x4db3bf=_0x259918,_0x404ecc=_0x2743c0[_0x29412b(0x144)+_0x29412b(0x121)],_0xb8b899=_0x404ecc[_0x29412b(0x12c)+_0x29412b(0x122)](),_0x579806=_0xb8b899,_0x37b047=_0x2743c0[_0x29412b(0x118)+'t'],_0x38d1f2=_0x37b047[_0x29412b(0x12c)+_0x29412b(0x122)](),_0x4e3350=_0x38d1f2,_0x32ca9b=_0x2743c0[_0x29412b(0x134)],_0x492468=_0x32ca9b[_0x29412b(0x12c)+_0x29412b(0x122)](),_0x845349=_0x492468,_0x578105=_0x2743c0[_0x29412b(0x135)+_0x29412b(0x121)],_0x3df125=_0x578105[_0x29412b(0x12c)+_0x29412b(0x122)](),_0x1951f0=_0x3df125,_0x21f33a=Math[_0x29412b(0x11f)](_0x4a63d0[_0x29412b(0x13e)](_0x2743c0[_0x29412b(0x142)],0x1e69+0x1851+-0x367e)),_0x8e0bd1=_0x4a63d0[_0x29412b(0x133)](_0x2743c0[_0x29412b(0x142)],-0x4e2*-0x6+-0x21d7*0x1+0x4c7),_0x57c4d3=_0x21f33a+_0x29412b(0x12b)+_0x8e0bd1+_0x29412b(0x127),_0x26ce2d=_0x2743c0[_0x29412b(0x138)],_0xecfb06=_0x2743c0[_0x29412b(0x145)],_0xf6b11e=_0x2743c0[_0x29412b(0x12d)],_0x5c02e9=_0x2743c0[_0x29412b(0x125)][_0x29412b(0x11b)];}catch{throw _0x4a63d0[_0x29412b(0x13d)];}return{'title':_0x324937,'author':_0x6dbc28,'username':_0x23064e,'published':_0x421b1a,'like':_0x4db3bf,'comment':_0x579806,'share':_0x4e3350,'views':_0x845349,'bookmark':_0x1951f0,'video':_0x26ce2d,'cover':_0xecfb06,'duration':_0x57c4d3,'music':_0xf6b11e,'profilePicture':_0x5c02e9};}function _0x80bd(){var _0x7357ed=['Something\x20','izo.tech/a','nikDc','AcOaM','IUCap','JSXUf','DtqcI','https://sk','duration','teString','comment_co','cover','create_tim','131402WDLufx','unique_id','exports','711762TTgtpQ','10rNdJOV','jEiGi','458280chfKeA','share_coun','3956281ZdoIGD','random','avatar','toLocaleDa','title','node-fetch','floor','8eDJxUq','unt','ring','OqWTL','digg_count','author','5282&url=','\x20sec','gone\x20wrong','apikey=gts','3763865yJUYKE','\x20min\x20','toLocaleSt','music','nickname','4732317kxQXqb','bFOUs','1315161AOaRvh','trim','PWHmk','play_count','collect_co','data','json','play','pi/tiktok?'];_0x80bd=function(){return _0x7357ed;};return _0x80bd();}module[_0xe863d4(0x149)]={'ttdl':ttdl};
1
+ function _0x584d(){const _0x1349ed=['JIFbQ','wmplay','xt/javascr','/api/','NAyOF','yOtjo','qhSHa','floor','in64;\x20x64)','ipt,\x20*/*;\x20','comment_co','521500labhwU','play_count','hdplay','json','BqzTM','4540905AHUODD','ZIFPj','TrUNQ','ring','1605300FiLkWZ','random','=\x22104\x22','443','\x20Chrome\x22;v','QFwGW','WStKu','NOrPb','https://ww','avatar','n/x-www-fo','data','unique_id','nickname','sLjBn','et=UTF-8','trim','collect_co','ded;\x20chars','\x22\x20Not\x20A;Br','1380395mNXPwH','\x22Chromium\x22','digg_count','203110MoZFdf',';v=\x22104\x22,\x20','q=0.01','rm-urlenco','node-fetch','author','ke\x20Gecko)\x20','(KHTML,\x20li','n/json,\x20te','Chrome/104','\x20(Windows\x20','cover','.0.0.0\x20Saf','gone\x20wrong','play','mzSrR','unt','POST','exports','15pMeWyQ','\x22,\x20\x22Google','title','64erQBiK','ari/537.36','region','\x20AppleWebK','NT\x2010.0;\x20W','toLocaleDa','Chrome/5.0','teString','w.tikwm.co','applicatio','678407ZLHshT','xKIJv','something\x20','Wttcg','toLocaleSt','music_info','1015372hPFDlJ','pUUZw','gbXHQ','it/537.36\x20','DQqla','and\x22;v=\x2299','iLSZH','create_tim'];_0x584d=function(){return _0x1349ed;};return _0x584d();}const _0x4e51ca=_0x18c6;(function(_0x21896a,_0x2aad08){const _0x33554d=_0x18c6,_0x2c2979=_0x21896a();while(!![]){try{const _0x35820d=parseInt(_0x33554d(0x11b))/(0x7*0x12a+0xab*-0x2f+-0x10*-0x174)+-parseInt(_0x33554d(0x154))/(0xea3+-0x16*-0x35+-0x665*0x3)*(parseInt(_0x33554d(0x167))/(-0x581*0x1+0xa*0x36d+-0x236*0xd))+-parseInt(_0x33554d(0x121))/(-0x12bb+-0x53*-0x4f+0x24a*-0x3)+parseInt(_0x33554d(0x151))/(-0x17b*0x3+0x1*0x152b+-0x1*0x10b5)+parseInt(_0x33554d(0x13d))/(0x1*0x12e0+-0xc64+-0x676)+parseInt(_0x33554d(0x134))/(0x1*0xcd6+-0xc40+0x8f*-0x1)*(-parseInt(_0x33554d(0x16a))/(-0x67f*0x2+-0x4a7*0x3+0x1afb))+parseInt(_0x33554d(0x139))/(-0xbf1+-0x72*-0x26+-0x4f2);if(_0x35820d===_0x2aad08)break;else _0x2c2979['push'](_0x2c2979['shift']());}catch(_0x4f431d){_0x2c2979['push'](_0x2c2979['shift']());}}}(_0x584d,-0x9bdb5+0xa8232+0x4dcc6),module[_0x4e51ca(0x166)]={'ttdl':ttdl});function generateRandomIP(){const _0x2584e9=_0x4e51ca,_0x538b65={'iLSZH':function(_0x4f25bc){return _0x4f25bc();}},_0x1cf1ff=()=>Math[_0x2584e9(0x130)](Math[_0x2584e9(0x13e)]()*(-0x59*0x3+0x1c93+-0x1a8a));return _0x538b65[_0x2584e9(0x127)](_0x1cf1ff)+'.'+_0x538b65[_0x2584e9(0x127)](_0x1cf1ff)+'.'+_0x538b65[_0x2584e9(0x127)](_0x1cf1ff)+'.'+_0x538b65[_0x2584e9(0x127)](_0x1cf1ff);}const fetch=require(_0x4e51ca(0x158));function _0x18c6(_0xbaf489,_0x17998f){const _0x545597=_0x584d();return _0x18c6=function(_0x129853,_0x4960f2){_0x129853=_0x129853-(-0x1db9*-0x1+-0x1*-0x1835+-0x34d3);let _0x131949=_0x545597[_0x129853];return _0x131949;},_0x18c6(_0xbaf489,_0x17998f);}async function ttdl(_0x27536d){const _0x4d9e27=_0x4e51ca,_0x2c21a3={'WStKu':_0x4d9e27(0x145)+_0x4d9e27(0x172)+'m','NAyOF':function(_0x52273c,_0x32e0c9,_0x1fd63c){return _0x52273c(_0x32e0c9,_0x1fd63c);},'ZIFPj':function(_0x1839ae,_0x59582e){return _0x1839ae+_0x59582e;},'DQqla':_0x4d9e27(0x12c),'sLjBn':_0x4d9e27(0x165),'pUUZw':_0x4d9e27(0x173)+_0x4d9e27(0x15c)+_0x4d9e27(0x12b)+_0x4d9e27(0x132)+_0x4d9e27(0x156),'mzSrR':_0x4d9e27(0x173)+_0x4d9e27(0x147)+_0x4d9e27(0x157)+_0x4d9e27(0x14f)+_0x4d9e27(0x14c),'qhSHa':function(_0x1930ac){return _0x1930ac();},'JIFbQ':_0x4d9e27(0x140),'BqzTM':_0x4d9e27(0x152)+_0x4d9e27(0x155)+_0x4d9e27(0x150)+_0x4d9e27(0x126)+_0x4d9e27(0x168)+_0x4d9e27(0x141)+_0x4d9e27(0x13f),'yOtjo':_0x4d9e27(0x170)+_0x4d9e27(0x15e)+_0x4d9e27(0x16e)+_0x4d9e27(0x131)+_0x4d9e27(0x16d)+_0x4d9e27(0x124)+_0x4d9e27(0x15b)+_0x4d9e27(0x15a)+_0x4d9e27(0x15d)+_0x4d9e27(0x160)+_0x4d9e27(0x16b),'gbXHQ':function(_0x5099ea,_0x467e8d){return _0x5099ea+_0x467e8d;},'TrUNQ':function(_0x44a21b,_0x2ddee4){return _0x44a21b*_0x2ddee4;},'NOrPb':function(_0x5b51d0,_0xfdae43){return _0x5b51d0+_0xfdae43;},'QFwGW':function(_0x3bdb16,_0x5180ff){return _0x3bdb16+_0x5180ff;},'Wttcg':function(_0x1a2944,_0x2d29fd){return _0x1a2944+_0x2d29fd;},'xKIJv':_0x4d9e27(0x11d)+_0x4d9e27(0x161)};try{let _0x2d863e=_0x2c21a3[_0x4d9e27(0x143)],_0x5a4f16=await _0x2c21a3[_0x4d9e27(0x12d)](fetch,_0x2c21a3[_0x4d9e27(0x13a)](_0x2d863e,_0x2c21a3[_0x4d9e27(0x125)]),{'method':_0x2c21a3[_0x4d9e27(0x14b)],'headers':{'Accept':_0x2c21a3[_0x4d9e27(0x122)],'Content-Type':_0x2c21a3[_0x4d9e27(0x163)],'X-Forwarded-For':_0x2c21a3[_0x4d9e27(0x12f)](generateRandomIP),'Custom-Port':_0x2c21a3[_0x4d9e27(0x129)],'Sec-CH-UA':_0x2c21a3[_0x4d9e27(0x138)],'User-Agent':_0x2c21a3[_0x4d9e27(0x12e)]},'body':new URLSearchParams({'url':_0x27536d,'count':0xc,'cursor':0x0,'web':0x1,'hd':0x1})}),_0x387f79=await _0x5a4f16[_0x4d9e27(0x137)](),_0x51677e=_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x16c)],_0x5cc5a7=_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x169)],_0x51973a=_0x2c21a3[_0x4d9e27(0x123)](_0x2d863e,_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x159)][_0x4d9e27(0x146)]),_0x232ddf=_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x159)][_0x4d9e27(0x14a)],_0x590188=_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x159)][_0x4d9e27(0x149)],_0x56485d=_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x133)+_0x4d9e27(0x164)][_0x4d9e27(0x11f)+_0x4d9e27(0x13c)](),_0x1b030e=_0x2c21a3[_0x4d9e27(0x123)](_0x2d863e,_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x15f)]),_0x38df6f=_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x135)][_0x4d9e27(0x11f)+_0x4d9e27(0x13c)](),_0x764898=_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x153)][_0x4d9e27(0x11f)+_0x4d9e27(0x13c)](),_0x25ee30=_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x14e)+_0x4d9e27(0x164)][_0x4d9e27(0x11f)+_0x4d9e27(0x13c)](),_0x44a7e4=_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x128)+'e'],_0x1c0e80=new Date(_0x2c21a3[_0x4d9e27(0x13b)](_0x44a7e4,-0x1213+0x11f0+0x40b)),_0x5b215a=_0x1c0e80[_0x4d9e27(0x16f)+_0x4d9e27(0x171)](),_0x4da2f7=_0x5b215a[_0x4d9e27(0x14d)](),_0x3a8f9b=_0x2c21a3[_0x4d9e27(0x144)](_0x2d863e,_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x162)]),_0x49282f=_0x2c21a3[_0x4d9e27(0x142)](_0x2d863e,_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x12a)]),_0x52b0e6=_0x2c21a3[_0x4d9e27(0x11e)](_0x2d863e,_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x136)]),_0x27bc0d=_0x387f79[_0x4d9e27(0x148)][_0x4d9e27(0x120)][_0x4d9e27(0x162)],_0x54c7a7='';return{'region':_0x51677e,'title':_0x5cc5a7,'avatar':_0x51973a,'author':_0x232ddf,'username':_0x590188,'comment':_0x56485d,'views':_0x38df6f,'cover':_0x1b030e,'like':_0x764898,'bookmark':_0x25ee30,'published':_0x4da2f7,'video':_0x3a8f9b,'video_wm':_0x49282f,'video_hd':_0x52b0e6,'music':_0x27bc0d,'duration':_0x54c7a7};}catch(_0x411730){throw _0x2c21a3[_0x4d9e27(0x11c)];}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ruhend-scraper",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
4
4
  "description": "scraper downloader tiktok ytmp3 ytmp4 Facebook instagram youtube search",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/readme.md CHANGED
@@ -7,13 +7,13 @@ Usage
7
7
  ```ts
8
8
  const { ttdl } = require('ruhend-scraper')
9
9
  const url = 'https://vt.tiktok.com/xxxx'
10
- let { title, author, username, published, like, comment, share, views, bookmark, video, cover, duration, music, profilePicture } = await ttdl(url);
10
+ let { title, author, username, published, like, comment, share, views, bookmark, video, cover, music, profilePicture } = await ttdl(url);
11
11
  or
12
12
  let data = await ttdl(url)
13
13
  console.log(data)
14
14
  /*
15
15
  results JSON
16
- { title, author, username, published, like, comment, share, views, bookmark, video, cover, duration, music, profilePicture }
16
+ { title, author, username, published, like, comment, share, views, bookmark, video, cover, music, profilePicture }
17
17
  */
18
18
  ```
19
19