Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@onepunya/yt-converter-js

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onepunya/yt-converter-js - npm Package Compare versions

Comparing version 1.0.7-a to 1.0.8-a

README.md.bak

2

lib/esm/api.js

@@ -1,1 +0,1 @@

const _0x25aed1=_0x5e81;(function(_0x5b389e,_0x1411a7){const _0x985718=_0x5e81,_0x16c92f=_0x5b389e();while(!![]){try{const _0x462e34=parseInt(_0x985718(0x1b8))/(-0x1*-0x4d5+-0x3f*0x3a+0x972)*(parseInt(_0x985718(0x219))/(-0x6*-0x392+0xf4*0x7+-0x1c16))+-parseInt(_0x985718(0x1cf))/(-0x1*0xe78+0x1fee+-0x1173)*(parseInt(_0x985718(0x1c7))/(-0x2088+-0x191f*0x1+-0x15*-0x2bf))+parseInt(_0x985718(0x220))/(-0xfa4+-0x1*0x2065+-0x1*-0x300e)+parseInt(_0x985718(0x1c9))/(0x1*-0x13f+-0x1*-0x1b6e+-0x1a29)+parseInt(_0x985718(0x1f8))/(0x13*0xef+0x1*0x1a26+-0x2bdc)+-parseInt(_0x985718(0x1fd))/(0x62e+0xb77*-0x1+-0x1*-0x551)+parseInt(_0x985718(0x204))/(-0x20e8+0x2619+-0x528);if(_0x462e34===_0x1411a7)break;else _0x16c92f['push'](_0x16c92f['shift']());}catch(_0x39c6ff){_0x16c92f['push'](_0x16c92f['shift']());}}}(_0x5859,0x109727+-0x15073*0x4+-0x4cf*0x21));function _0x5859(){const _0x4b97df=['RNzRg','693648gFvugk','post','20826dIbtZm','uest','thumbnail','OEU2DA','ded;\x20chars','ylNuJ','9ZFVbOc','serverURL','n/x-www-fo','applicatio','durationLa','nd\x22;v=\x2299\x22','t?id=YgEl3','map','q=0.7','m\x22;v=\x22124\x22','found','et=UTF-8','POST','&title=','=0.9,en-US','ryXwG','json','aLvQG','ch/index','gin-when-c','search','n/json,\x20te','t\x20found','720p','rm-urlenco','WkSEt','toISOStrin','https://ss','cors','title','Terjadi\x20ke','gpmoX','=136','items','youtube.co',';q=0.8,en;','ZKiJs','DQlnr','Server','YHgXo','oxy.ezmp3.','6598228oCDXFx','NoplF','NlWex','q=0.01','salahan:','6332560nwJnah','UFqEA','https://pr','aEvVg','utu.be/','/api/conve','toString','399249wUeBOt','pvsAh','url','m.co/mates','barvq','error',',\x20\x22Chromiu','mp3.icu/ap','nRzQg','platform=y','EU2DA&ext=','Hmmvs','RSaMQ','downloadUr','CbTHd','/en/conver','empty','RcPjd','*/*','No\x20downloa','strict-ori','52cBQosk','bv/','cc/api/get','i/ajaxSear','WEfnx','ross-origi','outube&url','994130XGfmnc','bel','20p&format','&id=YgEl3O','EPuAo','FGJZS','data','download','\x22Not-A.Bra','n/json','ADOIp','response','d\x20options\x20','Error:','m.co/en111','message','sVwWg','31718wiLlZs','https://to','MP3\x20URL\x20no','\x22Android\x22','mp4&note=7','id-ID,id;q','https://yo','HOCpg','vuSSx','xt/javascr','XMLHttpReq','ipt,\x20*/*;\x20','home','same-origi'];_0x5859=function(){return _0x4b97df;};return _0x5859();}function _0x5e81(_0x5759ad,_0x163859){const _0x4c6c3b=_0x5859();return _0x5e81=function(_0x3589bd,_0x135cdb){_0x3589bd=_0x3589bd-(0x2328*-0x1+-0x1*-0x1c61+-0x6*-0x16a);let _0x533eb7=_0x4c6c3b[_0x3589bd];return _0x533eb7;},_0x5e81(_0x5759ad,_0x163859);}import _0x35e410 from'axios';class Youtube{constructor(){}async[_0x25aed1(0x1e3)](_0xa6b1bc){const _0x542093=_0x25aed1,_0x2f4940={'nRzQg':_0x542093(0x1c4),'EPuAo':_0x542093(0x1b9)+_0x542093(0x20b)+_0x542093(0x21c)+_0x542093(0x1e1),'NlWex':_0x542093(0x1d2)+_0x542093(0x1d1)+_0x542093(0x1e7)+_0x542093(0x1cd)+_0x542093(0x1da),'WEfnx':_0x542093(0x216),'sVwWg':_0x542093(0x1c2)+_0x542093(0x1ca),'barvq':_0x542093(0x22d)};try{const _0x202aeb=new URLSearchParams({'q':_0xa6b1bc,'vt':_0x2f4940[_0x542093(0x20c)]})[_0x542093(0x203)](),_0x28d306=await _0x35e410[_0x542093(0x1c8)](_0x2f4940[_0x542093(0x224)],_0x202aeb,{'headers':{'Content-Type':_0x2f4940[_0x542093(0x1fa)],'Accept':_0x2f4940[_0x542093(0x21d)],'X-Requested-With':_0x2f4940[_0x542093(0x1b7)]}}),_0x10db8d=_0x28d306[_0x542093(0x226)];return _0x10db8d[_0x542093(0x1f0)]=_0x10db8d[_0x542093(0x1f0)][_0x542093(0x1d6)](_0x27cef2=>({..._0x27cef2,'youtubeUrl':_0x542093(0x1be)+_0x542093(0x201)+_0x27cef2['v']})),_0x10db8d;}catch(_0x3d65d9){console[_0x542093(0x209)](_0x2f4940[_0x542093(0x208)],_0x3d65d9[_0x542093(0x22b)]?_0x3d65d9[_0x542093(0x22b)][_0x542093(0x226)]:_0x3d65d9[_0x542093(0x1b6)]);}}async[_0x25aed1(0x227)](_0x599d4b){const _0x4c9999=_0x25aed1,_0x52d6da={'ylNuJ':_0x4c9999(0x1ff)+_0x4c9999(0x1f7)+_0x4c9999(0x21b)+_0x4c9999(0x1f5),'CbTHd':_0x4c9999(0x1d2)+_0x4c9999(0x229),'RcPjd':function(_0x3b0203,_0x52864f){return _0x3b0203(_0x52864f);},'UFqEA':_0x4c9999(0x1d2)+_0x4c9999(0x1e4)+_0x4c9999(0x1c1)+_0x4c9999(0x1c3)+_0x4c9999(0x1fb),'pvsAh':_0x4c9999(0x1bd)+_0x4c9999(0x1dd)+_0x4c9999(0x1f2)+_0x4c9999(0x1d7),'aLvQG':_0x4c9999(0x1d2)+_0x4c9999(0x1d1)+_0x4c9999(0x1e7)+_0x4c9999(0x1cd)+_0x4c9999(0x1da),'gpmoX':_0x4c9999(0x228)+_0x4c9999(0x1d4)+_0x4c9999(0x20a)+_0x4c9999(0x1d8),'RSaMQ':_0x4c9999(0x1bb),'ryXwG':_0x4c9999(0x214),'Hmmvs':_0x4c9999(0x1eb),'ZKiJs':_0x4c9999(0x1c5)+'n','DQlnr':_0x4c9999(0x1e6),'vuSSx':_0x4c9999(0x1c2)+_0x4c9999(0x1ca),'ADOIp':_0x4c9999(0x1ea)+_0x4c9999(0x1f1)+_0x4c9999(0x1b5)+_0x4c9999(0x21a),'FGJZS':_0x4c9999(0x218)+_0x4c9999(0x1e2)+_0x4c9999(0x21e)+'n','HOCpg':function(_0x5cdb41,_0x2474b0,_0x4aaad2){return _0x5cdb41(_0x2474b0,_0x4aaad2);},'WkSEt':_0x4c9999(0x1ea)+_0x4c9999(0x1f1)+_0x4c9999(0x207)+_0x4c9999(0x213)+_0x4c9999(0x1d5)+_0x4c9999(0x1cc),'YHgXo':_0x4c9999(0x1db),'aEvVg':_0x4c9999(0x1ba)+_0x4c9999(0x1e5),'NoplF':_0x4c9999(0x217)+_0x4c9999(0x22c)+_0x4c9999(0x1d9),'RNzRg':_0x4c9999(0x1ed)+_0x4c9999(0x1fc)};try{const _0x2c7470=await _0x35e410[_0x4c9999(0x1c8)](_0x52d6da[_0x4c9999(0x1ce)],{},{'headers':{'Content-Type':_0x52d6da[_0x4c9999(0x212)]}}),_0xdf66b=_0x2c7470[_0x4c9999(0x226)][_0x4c9999(0x1d0)],_0x1cebeb=await _0x35e410[_0x4c9999(0x1c8)](_0xdf66b+(_0x4c9999(0x202)+'rt'),{'url':_0x599d4b,'quality':0x80,'trim':![],'startT':0x0,'endT':0x0,'videoLength':0x0,'restricted':![],'code':0x0},{'headers':{'Content-Type':_0x52d6da[_0x4c9999(0x212)]}}),_0x22de04=_0x1cebeb[_0x4c9999(0x226)],_0x35a4d0=_0x22de04[_0x4c9999(0x1ec)]||new Date()[_0x4c9999(0x1e9)+'g'](),_0xd420ff=_0x4c9999(0x20d)+_0x4c9999(0x21f)+'='+_0x52d6da[_0x4c9999(0x215)](encodeURIComponent,_0x599d4b)+_0x4c9999(0x1dc)+_0x35a4d0+(_0x4c9999(0x223)+_0x4c9999(0x20e)+_0x4c9999(0x1bc)+_0x4c9999(0x222)+_0x4c9999(0x1ef)),_0x3500ac={'accept':_0x52d6da[_0x4c9999(0x1fe)],'accept-language':_0x52d6da[_0x4c9999(0x205)],'content-type':_0x52d6da[_0x4c9999(0x1e0)],'sec-ch-ua':_0x52d6da[_0x4c9999(0x1ee)],'sec-ch-ua-mobile':'?1','sec-ch-ua-platform':_0x52d6da[_0x4c9999(0x210)],'sec-fetch-dest':_0x52d6da[_0x4c9999(0x1de)],'sec-fetch-mode':_0x52d6da[_0x4c9999(0x20f)],'sec-fetch-site':_0x52d6da[_0x4c9999(0x1f3)],'x-note':_0x52d6da[_0x4c9999(0x1f4)],'x-requested-with':_0x52d6da[_0x4c9999(0x1c0)],'Referer':_0x52d6da[_0x4c9999(0x22a)],'Referrer-Policy':_0x52d6da[_0x4c9999(0x225)]},_0x14a639=await _0x52d6da[_0x4c9999(0x1bf)](fetch,_0x52d6da[_0x4c9999(0x1e8)],{'method':_0x52d6da[_0x4c9999(0x1f6)],'headers':_0x3500ac,'body':_0xd420ff}),_0x56ccb0=await _0x14a639[_0x4c9999(0x1df)](),_0x590af9={'title':_0x22de04[_0x4c9999(0x1ec)],'duration':_0x22de04[_0x4c9999(0x1d3)+_0x4c9999(0x221)],'thumbnail':_0x22de04[_0x4c9999(0x1cb)],'mp3DownloadLink':_0x1cebeb[_0x4c9999(0x226)][_0x4c9999(0x206)]||_0x52d6da[_0x4c9999(0x200)],'mp4DownloadLink':_0x56ccb0[_0x4c9999(0x211)+'lX']?_0x56ccb0[_0x4c9999(0x211)+'lX']:_0x52d6da[_0x4c9999(0x1f9)]};return _0x590af9;}catch(_0x1416b8){return console[_0x4c9999(0x209)](_0x52d6da[_0x4c9999(0x1c6)],_0x1416b8),null;}}}export default Youtube;
const _0x4145c1=_0x16c2;function _0x16c2(_0x5e1314,_0x566f4d){const _0x55437c=_0x1b90();return _0x16c2=function(_0x2c26d6,_0x582954){_0x2c26d6=_0x2c26d6-(-0x11b+-0xf62+-0x199*-0xb);let _0x29d4e1=_0x55437c[_0x2c26d6];return _0x29d4e1;},_0x16c2(_0x5e1314,_0x566f4d);}function _0x1b90(){const _0x52efc2=['pNqvE','platform=y','home','2100516fMUKWC','dItef','UXGjT','syncInput','url','q=0.7','946c98802e','umbnail-do','data','ostudio.to','l-download','ybsKd','xSbkX','VgmOx','r6eBtEQ3JS','json','on/xhtml+x','=0.9,en-US','POST','sdCoJ','youtube-th','items','Mozilla/5.','n/json','No\x20downloa','id-ID,id;q','/api/conve','NTDah','d\x20options\x20','UzDMy','cyjOF','2865168HvPxpk','t\x20found','AySwd','ls.youtube','nBoTi','ko)\x20Chrome','*/*','uest','lHtik','true','ols/livewi','-thumbnail','VclEe','DwMpw','-downloade','bYSyr','SmMho','oxy.ezmp3.','cZgLV','preview','error','wnloader','mp4&note=7','found','empbv','link','XMLHttpReq','OwSpv','ac552a03ff','https://yo','Error:','same-origi','DwHSu','&title=','gin-when-c','OtSUy','0\x20(Linux;\x20','DR1k7SQ2hG','96ALNMEm','IxytZ','map','youtube.co','ch/index','title','xt/javascr','serverURL','HqUrH','t?id=YgEl3','strict-ori','q=0.01','download','Android\x2010','qpbNs','toISOStrin','EU2DA&ext=','https://pr','mp3.icu/ap','outube&url','/en/conver','ols.youtub','=136','n/json,\x20te','post','App\x5cModels','m.co/en111','\x20Mobile\x20Sa','MP3\x20URL\x20no','.36\x20(KHTML','Hipya','8XQtjrR','text/html,','dijBR','onYoutubeT','tjy4g','qziKS','K6HHi0NyRj','mysql','8Zf20MkCkm','5dfca34c','oakpT','/124.0.0.0','HvZgL','MloLi','31a6ebf8d2','xAOAq','c5bcfd4817','yEZBh','qnpSQzpGlg','toString','900164sBjbJV','cc/api/get','\x5cAdmin\x5cGen','10817331RcvHRE','empty','re/message','downloadUr','ross-origi','\x20applicati','WebKit/537','eral','acj','seostudio.','serverMemo','applicatio','https://to','IxneM','Terjadi\x20ke','m.co/mates','Server','ded;\x20chars',';q=0.8,en;','NxcNd','nd\x22;v=\x2299\x22','humbnailDo','response','7xk4','n/x-www-fo','720p','VsHSc','tools',';\x20K)\x20Apple','/public.to','\x22Android\x22','callMethod','fari/537.3','nvprH','public.too','LUddD','20p&format','7cccef82f7','ipt,\x20*/*;\x20','aeea','aLbEx','GET','bv/','i/ajaxSear','gtMyk','&id=YgEl3O','resolution','et=UTF-8','e-thumbnai','4749381cFFbiG','LZfhP','wmaPG','message','m\x22;v=\x22124\x22','12393531ftvOhX','ols/youtub','utu.be/','https://ss','rm-urlenco','OWhuP','DTsqr','https://se','cnUyy','OEU2DA','HtTPz','search','uJuuF','ols','ojsys','430005iOYMGR','salahan:',',\x20like\x20Gec','wXmaN','cors',',\x20\x22Chromiu','\x22Not-A.Bra','royti','KxHBCa4mTe','e4e377350f'];_0x1b90=function(){return _0x52efc2;};return _0x1b90();}(function(_0x49cee3,_0x542d5a){const _0x5da4f1=_0x16c2,_0x2fb4a9=_0x49cee3();while(!![]){try{const _0x896335=-parseInt(_0x5da4f1(0x19a))/(-0x1f5+-0x998*0x3+0x1ebe)+parseInt(_0x5da4f1(0x122))/(0x25aa+0x648+-0x2bf0)+-parseInt(_0x5da4f1(0x1ce))/(0xde*0x9+-0x17ad+0xfe2)+parseInt(_0x5da4f1(0x141))/(-0x207e+0x751*-0x1+0x5*0x7f7)+-parseInt(_0x5da4f1(0x1e2))/(0x47f*0x1+0x188b+-0x187*0x13)*(parseInt(_0x5da4f1(0x167))/(0xb*-0x2b3+0x484+0x1933))+parseInt(_0x5da4f1(0x19d))/(-0xfbf+0xc*0x2f5+-0x13b6)+-parseInt(_0x5da4f1(0x186))/(-0x10cd+0x24f7*-0x1+0x35cc*0x1)*(-parseInt(_0x5da4f1(0x1d3))/(-0x2*0x11bf+-0x11a0+0x3527));if(_0x896335===_0x542d5a)break;else _0x2fb4a9['push'](_0x2fb4a9['shift']());}catch(_0x1f338e){_0x2fb4a9['push'](_0x2fb4a9['shift']());}}}(_0x1b90,-0x14e96c+-0x18868c+0x3a18bb));import _0x2d63b3 from'axios';class Youtube{constructor(){}async[_0x4145c1(0x1de)](_0x301153){const _0x3a896b=_0x4145c1,_0x3bf2b4={'yEZBh':_0x3a896b(0x121),'empbv':_0x3a896b(0x1a9)+_0x3a896b(0x179)+_0x3a896b(0x1c8)+_0x3a896b(0x16b),'DwMpw':_0x3a896b(0x1a8)+_0x3a896b(0x1b5)+_0x3a896b(0x1d7)+_0x3a896b(0x1ae)+_0x3a896b(0x1cc),'xAOAq':_0x3a896b(0x147),'wmaPG':_0x3a896b(0x15b)+_0x3a896b(0x148),'OtSUy':_0x3a896b(0x15f)};try{const _0x4ff4fa=new URLSearchParams({'q':_0x301153,'vt':_0x3bf2b4[_0x3a896b(0x197)]})[_0x3a896b(0x199)](),_0x2a0d69=await _0x2d63b3[_0x3a896b(0x17f)](_0x3bf2b4[_0x3a896b(0x159)],_0x4ff4fa,{'headers':{'Content-Type':_0x3bf2b4[_0x3a896b(0x14e)],'Accept':_0x3bf2b4[_0x3a896b(0x195)],'X-Requested-With':_0x3bf2b4[_0x3a896b(0x1d0)]}}),_0x27d3af=_0x2a0d69[_0x3a896b(0x12a)];return _0x27d3af[_0x3a896b(0x137)]=_0x27d3af[_0x3a896b(0x137)][_0x3a896b(0x169)](_0x28b961=>({..._0x28b961,'youtubeUrl':_0x3a896b(0x15e)+_0x3a896b(0x1d5)+_0x28b961['v']})),_0x27d3af;}catch(_0x5c44d0){console[_0x3a896b(0x155)](_0x3bf2b4[_0x3a896b(0x164)],_0x5c44d0[_0x3a896b(0x1b3)]?_0x5c44d0[_0x3a896b(0x1b3)][_0x3a896b(0x12a)]:_0x5c44d0[_0x3a896b(0x1d1)]);}}async[_0x4145c1(0x173)](_0x37ee2b){const _0x321453=_0x4145c1,_0x315647={'VgmOx':_0x321453(0x178)+_0x321453(0x152)+_0x321453(0x19b)+_0x321453(0x1ad),'DwHSu':_0x321453(0x1a8)+_0x321453(0x139),'qziKS':function(_0x9bbf88,_0x26fbf9){return _0x9bbf88(_0x26fbf9);},'UXGjT':_0x321453(0x1a8)+_0x321453(0x17e)+_0x321453(0x16d)+_0x321453(0x1c3)+_0x321453(0x172),'cZgLV':_0x321453(0x13b)+_0x321453(0x133)+_0x321453(0x1af)+_0x321453(0x127),'cnUyy':_0x321453(0x1a8)+_0x321453(0x1b5)+_0x321453(0x1d7)+_0x321453(0x1ae)+_0x321453(0x1cc),'xSbkX':_0x321453(0x11b)+_0x321453(0x1b1)+_0x321453(0x11a)+_0x321453(0x1d2),'LZfhP':_0x321453(0x1bb),'NTDah':_0x321453(0x19e),'UzDMy':_0x321453(0x119),'cyjOF':_0x321453(0x160)+'n','gtMyk':_0x321453(0x1b6),'VclEe':_0x321453(0x15b)+_0x321453(0x148),'NxcNd':_0x321453(0x1d6)+_0x321453(0x16a)+_0x321453(0x181)+_0x321453(0x1c7),'bYSyr':_0x321453(0x171)+_0x321453(0x163)+_0x321453(0x1a1)+'n','SmMho':function(_0x22bc83,_0x2be3ec,_0x5d61a8){return _0x22bc83(_0x2be3ec,_0x5d61a8);},'Hipya':_0x321453(0x1d6)+_0x321453(0x16a)+_0x321453(0x1ac)+_0x321453(0x17b)+_0x321453(0x170)+_0x321453(0x1dc),'DTsqr':_0x321453(0x134),'OWhuP':_0x321453(0x1a6)+_0x321453(0x1b8),'ybsKd':_0x321453(0x187)+_0x321453(0x1a2)+_0x321453(0x132)+'ml','LUddD':_0x321453(0x1da)+_0x321453(0x12b)+_0x321453(0x1e0),'dijBR':_0x321453(0x1da)+_0x321453(0x12b)+_0x321453(0x1d4)+_0x321453(0x1cd)+_0x321453(0x12c)+'er','qpbNs':_0x321453(0x138)+_0x321453(0x165)+_0x321453(0x174)+_0x321453(0x1b9)+_0x321453(0x1a3)+_0x321453(0x184)+_0x321453(0x117)+_0x321453(0x146)+_0x321453(0x191)+_0x321453(0x182)+_0x321453(0x1bd)+'6','oakpT':_0x321453(0x130)+_0x321453(0x198)+_0x321453(0x166)+_0x321453(0x18e),'HvZgL':_0x321453(0x14a),'dItef':_0x321453(0x18c)+_0x321453(0x11d),'pNqvE':_0x321453(0x1bf)+_0x321453(0x144)+_0x321453(0x14c)+_0x321453(0x14f)+'r','wXmaN':_0x321453(0x136)+_0x321453(0x129)+_0x321453(0x156),'HtTPz':_0x321453(0x1c6),'sdCoJ':_0x321453(0x1a5),'ojsys':_0x321453(0x18f),'royti':_0x321453(0x180)+_0x321453(0x19c)+_0x321453(0x1a4),'IxytZ':_0x321453(0x18d),'lHtik':_0x321453(0x128)+_0x321453(0x15d)+_0x321453(0x11e)+_0x321453(0x1c2)+_0x321453(0x194)+_0x321453(0x196)+_0x321453(0x1c4),'aLbEx':_0x321453(0x125),'nBoTi':_0x321453(0x18a),'IxneM':_0x321453(0x15a),'HqUrH':_0x321453(0x1bc),'VsHSc':_0x321453(0x1b4),'OwSpv':_0x321453(0x189)+_0x321453(0x1b2)+_0x321453(0x156),'nvprH':_0x321453(0x1da)+_0x321453(0x12b)+_0x321453(0x14b)+_0x321453(0x19f)+_0x321453(0x1ba)+_0x321453(0x17c)+_0x321453(0x1cd)+_0x321453(0x12c)+'er','uJuuF':_0x321453(0x183)+_0x321453(0x142),'AySwd':_0x321453(0x13a)+_0x321453(0x13e)+_0x321453(0x158),'MloLi':_0x321453(0x1ab)+_0x321453(0x116)};try{const _0x3fcf71=await _0x2d63b3[_0x321453(0x17f)](_0x315647[_0x321453(0x12f)],{},{'headers':{'Content-Type':_0x315647[_0x321453(0x161)]}}),_0x425a4e=_0x3fcf71[_0x321453(0x12a)][_0x321453(0x16e)],_0x53f19c=await _0x2d63b3[_0x321453(0x17f)](_0x425a4e+(_0x321453(0x13c)+'rt'),{'url':_0x37ee2b,'quality':0x80,'trim':![],'startT':0x0,'endT':0x0,'videoLength':0x0,'restricted':![],'code':0x0},{'headers':{'Content-Type':_0x315647[_0x321453(0x161)]}}),_0xc9f04=_0x53f19c[_0x321453(0x12a)],_0x4c837c=_0xc9f04[_0x321453(0x16c)]||new Date()[_0x321453(0x176)+'g'](),_0x2f0708=_0x321453(0x120)+_0x321453(0x17a)+'='+_0x315647[_0x321453(0x18b)](encodeURIComponent,_0x37ee2b)+_0x321453(0x162)+_0x4c837c+(_0x321453(0x1ca)+_0x321453(0x177)+_0x321453(0x157)+_0x321453(0x1c1)+_0x321453(0x17d)),_0x6b51bb={'accept':_0x315647[_0x321453(0x124)],'accept-language':_0x315647[_0x321453(0x153)],'content-type':_0x315647[_0x321453(0x1db)],'sec-ch-ua':_0x315647[_0x321453(0x12e)],'sec-ch-ua-mobile':'?1','sec-ch-ua-platform':_0x315647[_0x321453(0x1cf)],'sec-fetch-dest':_0x315647[_0x321453(0x13d)],'sec-fetch-mode':_0x315647[_0x321453(0x13f)],'sec-fetch-site':_0x315647[_0x321453(0x140)],'x-note':_0x315647[_0x321453(0x1c9)],'x-requested-with':_0x315647[_0x321453(0x14d)],'Referer':_0x315647[_0x321453(0x1b0)],'Referrer-Policy':_0x315647[_0x321453(0x150)]},_0x6ec1a0=await _0x315647[_0x321453(0x151)](fetch,_0x315647[_0x321453(0x185)],{'method':_0x315647[_0x321453(0x1d9)],'headers':_0x6b51bb,'body':_0x2f0708}),_0x5df18f=await _0x6ec1a0[_0x321453(0x131)](),_0x472e16={'authority':_0x315647[_0x321453(0x1d8)],'accept':_0x315647[_0x321453(0x12d)],'accept-language':_0x315647[_0x321453(0x153)],'content-type':_0x315647[_0x321453(0x161)],'origin':_0x315647[_0x321453(0x1c0)],'referer':_0x315647[_0x321453(0x188)],'sec-ch-ua':_0x315647[_0x321453(0x12e)],'sec-ch-ua-mobile':'?1','sec-ch-ua-platform':_0x315647[_0x321453(0x1cf)],'sec-fetch-dest':_0x315647[_0x321453(0x13d)],'sec-fetch-mode':_0x315647[_0x321453(0x13f)],'sec-fetch-site':_0x315647[_0x321453(0x140)],'user-agent':_0x315647[_0x321453(0x175)],'x-csrf-token':_0x315647[_0x321453(0x190)],'x-livewire':_0x315647[_0x321453(0x192)]},_0x4925be={'fingerprint':{'id':_0x315647[_0x321453(0x123)],'name':_0x315647[_0x321453(0x11f)],'locale':'en','path':_0x315647[_0x321453(0x118)],'method':_0x315647[_0x321453(0x1dd)],'v':_0x315647[_0x321453(0x135)]},'serverMemo':{'children':[],'errors':[],'htmlHash':_0x315647[_0x321453(0x1e1)],'data':{'link':null,'data':[],'recaptcha':null,'generalSettings':[]},'dataMeta':{'models':{'generalSettings':{'class':_0x315647[_0x321453(0x11c)],'id':0x1,'relations':[],'connection':_0x315647[_0x321453(0x168)]}}},'checksum':_0x315647[_0x321453(0x149)]},'updates':[{'type':_0x315647[_0x321453(0x1c5)],'payload':{'id':_0x315647[_0x321453(0x145)],'name':_0x315647[_0x321453(0x1aa)],'value':_0x37ee2b}},{'type':_0x315647[_0x321453(0x16f)],'payload':{'id':_0x315647[_0x321453(0x1b7)],'method':_0x315647[_0x321453(0x15c)],'params':[]}}]},_0x44822d=await _0x2d63b3[_0x321453(0x17f)](_0x315647[_0x321453(0x1be)],_0x4925be,{'headers':_0x472e16}),_0x10ba39=_0x44822d[_0x321453(0x12a)],_0x40d2cd=_0x10ba39[_0x321453(0x1a7)][_0x321453(0x12a)][_0x321453(0x12a)][_0x321453(0x169)](_0x16ca2e=>({'preview':_0x16ca2e[_0x321453(0x154)],'resolution':_0x16ca2e[_0x321453(0x1cb)]})),_0x250b68={'title':_0xc9f04[_0x321453(0x16c)],'thumbnail':_0x40d2cd,'mp3':_0x53f19c[_0x321453(0x12a)][_0x321453(0x126)]||_0x315647[_0x321453(0x1df)],'mp4':_0x5df18f[_0x321453(0x1a0)+'lX']?_0x5df18f[_0x321453(0x1a0)+'lX']:_0x315647[_0x321453(0x143)]};return _0x250b68;}catch(_0x12be3d){return console[_0x321453(0x155)](_0x315647[_0x321453(0x193)],_0x12be3d),null;}}}export default Youtube;
{
"name": "@onepunya/yt-converter-js",
"version": "1.0.7-a",
"version": "1.0.8a",
"main": "index.cjs",

@@ -5,0 +5,0 @@ "module": "index.js",

@@ -99,4 +99,6 @@ ```markdown

"title": "video_title",
"duration": "duration",
"thumbnail": "thumbnail",
"thumbnail": [],
//thumbnail format
//preview: 'https://i.ytimg.com/vi/9O_1dxvEduM/hqdefault.jpg',
// resolution: 'High (480x360)'
"mp4DownloadLink": "link_to_mp4_file",

@@ -103,0 +105,0 @@ "mp3DownloadLink": "link_to_mp3_file"

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc