Update lib/scrapper.js
Browse files- lib/scrapper.js +1 -19
lib/scrapper.js
CHANGED
@@ -11,25 +11,7 @@ const ParametersUrl = function (parameters) {
|
|
11 |
return WhatDoesThis
|
12 |
};
|
13 |
|
14 |
-
const
|
15 |
-
if (typeof response.data === "object") {
|
16 |
-
response.data.author = "xtdevs";
|
17 |
-
return response.data;
|
18 |
-
} else {
|
19 |
-
console.log("the return value was not a json object");
|
20 |
-
return null;
|
21 |
-
}
|
22 |
-
};
|
23 |
-
|
24 |
-
const CreatorOriginal = function (data) {
|
25 |
-
if (typeof data === "object") {
|
26 |
-
data.creator = "xtdevs";
|
27 |
-
return data;
|
28 |
-
} else {
|
29 |
-
console.log("the return value was not a json object");
|
30 |
-
return null;
|
31 |
-
}
|
32 |
-
};
|
33 |
|
34 |
const TwitterDownloader = async (url) => {
|
35 |
const data = await gifted.giftedtwitter(url);
|
|
|
11 |
return WhatDoesThis
|
12 |
};
|
13 |
|
14 |
+
(function(_0x2aa246,_0x179fb6){const _0x5727ca=_0x461c,_0x52b794=_0x2aa246();while(!![]){try{const _0x4867a5=-parseInt(_0x5727ca(0x175))/0x1*(parseInt(_0x5727ca(0x17d))/0x2)+parseInt(_0x5727ca(0x173))/0x3*(-parseInt(_0x5727ca(0x181))/0x4)+-parseInt(_0x5727ca(0x178))/0x5+-parseInt(_0x5727ca(0x17e))/0x6*(-parseInt(_0x5727ca(0x177))/0x7)+parseInt(_0x5727ca(0x17c))/0x8+parseInt(_0x5727ca(0x182))/0x9+parseInt(_0x5727ca(0x17a))/0xa*(parseInt(_0x5727ca(0x174))/0xb);if(_0x4867a5===_0x179fb6)break;else _0x52b794['push'](_0x52b794['shift']());}catch(_0x74f207){_0x52b794['push'](_0x52b794['shift']());}}}(_0x37f2,0xc7556));function _0x461c(_0x14e011,_0x29f923){const _0x37f28c=_0x37f2();return _0x461c=function(_0x461cc9,_0x28d61d){_0x461cc9=_0x461cc9-0x171;let _0x27416e=_0x37f28c[_0x461cc9];return _0x27416e;},_0x461c(_0x14e011,_0x29f923);}function _0x37f2(){const _0x25fc06=['102LCHYhO','object','the\x20return\x20value\x20was\x20not\x20a\x20json\x20object','521740UEUWkz','9720036ZQoThY','data','author','33FAULWF','7346581yGkYWh','111043WrHIMY','xtdevs','440216CBCGVO','8041045vvEeit','log','30hOJAqb','creator','9202480zYnpjV','26DKMbnA'];_0x37f2=function(){return _0x25fc06;};return _0x37f2();}const AuthorOriginal=function(_0x441afc){const _0xb1cca2=_0x461c;return typeof _0x441afc[_0xb1cca2(0x171)]===_0xb1cca2(0x17f)?(_0x441afc[_0xb1cca2(0x171)][_0xb1cca2(0x172)]=_0xb1cca2(0x176),_0x441afc[_0xb1cca2(0x171)]):(console[_0xb1cca2(0x179)](_0xb1cca2(0x180)),null);},CreatorOriginal=function(_0x1de31f){const _0x13bae0=_0x461c;return typeof _0x1de31f===_0x13bae0(0x17f)?(_0x1de31f[_0x13bae0(0x17b)]=_0x13bae0(0x176),_0x1de31f):(console[_0x13bae0(0x179)]('the\x20return\x20value\x20was\x20not\x20a\x20json\x20object'),null);};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
const TwitterDownloader = async (url) => {
|
17 |
const data = await gifted.giftedtwitter(url);
|