random-anime.js 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458
  1. import axios from 'axios';
  2. import cheerio from 'cheerio';
  3. import hispamemes from 'hispamemes';
  4. const handler = async (m, {command, conn, usedPrefix}) => {
  5. const apikey = global.keysxxx;
  6. const who = m.mentionedJid && m.mentionedJid[0] ? m.mentionedJid[0] : m.fromMe ? conn.user.jid : m.sender;
  7. const name = await conn.getName[who];
  8. const fgif = m;
  9. if (command == 'akira' || command == 'akiyama' || command == 'anna' || command == 'asuna' || command == 'ayuzawa' || command == 'boruto' || command == 'chiho' || command == 'chitoge' || command == 'deidara' || command == 'erza' || command == 'elaina' || command == 'eba' || command == 'emilia' || command == 'hestia' || command == 'hinata' || command == 'inori' || command == 'isuzu' || command == 'itachi' || command == 'itori' || command == 'kaga' || command == 'kagura' || command == 'kaori' || command == 'keneki' || command == 'kotori' || command == 'kurumi' || command == 'madara' || command == 'mikasa' || command == 'miku' || command == 'minato' || command == 'naruto' || command == 'nezuko' || command == 'sagiri' || command == 'sasuke' || command == 'sakura' || command == 'cosplay') {
  10. const res = (await axios.get(`https://raw.githubusercontent.com/BrunoSobrino/TheMystic-Bot-MD/master/src/JSON/anime-${command}.json`)).data;
  11. const haha = await res[Math.floor(res.length * Math.random())];
  12. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  13. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  14. };
  15. if (command == 'blackpink') {
  16. fetch('https://raw.githubusercontent.com/ArugaZ/grabbed-results/main/random/kpop/blackpink.txt').then((res) => res.text()).then((body) => {
  17. const randomkpop = body.split('\n');
  18. const randomkpopx = randomkpop[Math.floor(Math.random() * randomkpop.length)];
  19. conn.sendFile(m.chat, randomkpopx, 'error.jpg', `_${command}_`, m, null, fake);
  20. // conn.sendButton(m.chat, `_${command}_`, botname, randomkpopx, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  21. });
  22. }
  23. if (command == 'cristianoronaldo' || command == 'cr7') {
  24. const cristiano = (await axios.get(`https://raw.githubusercontent.com/BrunoSobrino/TheMystic-Bot-MD/master/src/JSON/CristianoRonaldo.json`)).data;
  25. const ronaldo = await cristiano[Math.floor(cristiano.length * Math.random())];
  26. conn.sendFile(m.chat, ronaldo, 'error.jpg', `_*Siiiuuuuuu*_`, m, null, fake);
  27. //conn.sendButton(m.chat, '*Siiiuuuuuu*', botname, ronaldo, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  28. }
  29. if (command == 'cat') {
  30. const res = await fetch('https://api.thecatapi.com/v1/images/search');
  31. const img = await res.json();
  32. conn.sendFile(m.chat, img[0].url, 'error.jpg', `🐱`, m, null, fake);
  33. // conn.sendButton(m.chat, '🐱', botname, img[0].url, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  34. }
  35. if (command == 'itzy' || command == 'kpopitzy') {
  36. const res = (await axios.get(`https://raw.githubusercontent.com/BrunoSobrino/TheMystic-Bot-MD/master/src/JSON/itzy.json`)).data;
  37. const loli = await res[Math.floor(res.length * Math.random())];
  38. conn.sendFile(m.chat, loli, 'error.jpg', `_${command}_`, m, null, fake);
  39. //conn.sendButton(m.chat, `_${command}_`, botname, mystic, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  40. }
  41. if (command == 'kpop') {
  42. if (args.length == 0) return conn.reply(m.chat, `Usar ${usedPrefix}kpop\nPor favor escribe: ${usedPrefix}kpop [buscar]\nEjemplo:: ${usedPrefix}kpop bts\n\nBusquedas disponibles:\nblackpink, exo, bts`, m);
  43. if (args[0] == 'blackpink' || args[0] == 'exo' || args[0] == 'bts') {
  44. fetch('https://raw.githubusercontent.com/ArugaZ/grabbed-results/main/random/kpop/' + args[0] + '.txt')
  45. .then((res) => res.text())
  46. .then((body) => {
  47. const randomkpop = body.split('\n');
  48. const randomkpopx = randomkpop[Math.floor(Math.random() * randomkpop.length)];
  49. conn.sendFile(m.chat, randomkpopx, '', 'Dasar Kpopers', m, null, fake);
  50. })
  51. .catch(() => {
  52. conn.reply(m.chat, 'Ocurrio un error, vuelve a intentar, si el fallo continua avisar a mi creador', m);
  53. });
  54. } else {
  55. conn.reply(m.chat, `Lo sentimos, la busqueda no está disponible. Por favor escribe ${usedPrefix}kpop para ver la lista de busquedas disponibles`, m);
  56. }}
  57. if (command == 'loli') {
  58. const yh = global.loli;
  59. const url = yh[Math.floor(Math.random() * yh.length)];
  60. conn.sendFile(m.chat, url, 'error.jpg', `*Yo soy tu loli uwu 😍*`, m, null, fake);
  61. // conn.sendButton(m.chat, `*Yo soy tu loli uwu 😍*`, botname, url, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  62. }
  63. if (command == 'lolivid' || command == 'lolivideos' || command == 'lolívid') {
  64. const res = await lolivid[Math.floor(Math.random() * lolivid.length)];
  65. conn.sendFile(m.chat, res, 'error.jpg', `*Yo soy tu loli uwu 😍*`, m, null, fake);
  66. //conn.sendButton(m.chat, `*Yo soy tu loli uwu 😍*`, botname, res, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  67. }
  68. if (command == 'meme' || command == 'memes') {
  69. const url = await hispamemes.meme();
  70. conn.sendFile(m.chat, url, 'error.jpg', `😂🤣🤣`, m, null, fake);
  71. //conn.sendButton(m.chat, `_🤣 ${command} 🤣_`, botname, url, [['😂 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 😂', `/${command}`]], null, null, m)
  72. }
  73. if (command == 'meme2' || command == 'memes2') {
  74. const meme = hispamemes.meme()
  75. conn.sendFile(m.chat, meme, 'error.jpg', `😂😆`, m, null, fake);
  76. //conn.sendButton(m.chat, '😂🤣🤣', botname, meme, [['😂 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 😂', `/${command}`]], null, null, m)
  77. }
  78. if (command == 'messi') {
  79. const res = (await axios.get(`https://raw.githubusercontent.com/BrunoSobrino/TheMystic-Bot-MD/master/src/JSON/Messi.json`)).data;
  80. const url = await res[Math.floor(res.length * Math.random())];
  81. conn.sendFile(m.chat, url, 'error.jpg', `*🇦🇷 Messi*`, m, null, fake);
  82. //conn.sendButton(m.chat, '*🇦🇷 Messi*', botname, url, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  83. }
  84. if (command == 'navidad') {
  85. const res = (await axios.get(`https://raw.githubusercontent.com/BrunoSobrino/TheMystic-Bot-MD/master/src/JSON/navidad.json`)).data;
  86. const tee = await res[Math.floor(res.length * Math.random())];
  87. conn.sendFile(m.chat, tee, 'error.jpg', `*_Navidad 🧑‍🎄*`, m, null, fake);
  88. //conn.sendButton(m.chat, '_Navidad 🧑‍🎄_', botname, tee, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  89. }
  90. if (command == 'neko') {
  91. const ne = await (await fetch('https://raw.githubusercontent.com/ArugaZ/grabbed-results/main/random/anime/neko.txt')).text();
  92. const nek = ne.split('\n');
  93. const neko = await nek[Math.floor(Math.random() * nek.length)];
  94. if (neko == '') throw 'Error';
  95. conn.sendFile(m.chat, neko, 'error.jpg', `*💖 Nyaww 💖*`, m, null, fake);
  96. //conn.sendButton(m.chat, '*💖 Nyaww 💖*', botname, neko, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  97. }
  98. if (command == 'ppcp' || command == 'ppcouple') {
  99. const res = await fetch(`https://api.lolhuman.xyz/api/random/ppcouple?apikey=${lolkeysapi}`);
  100. if (res.status != 200) throw await res.text();
  101. const json = await res.json();
  102. if (!json.status) throw json;
  103. conn.sendFile(m.chat, json.result.female, 'error.jpg', `*𝘾𝙃𝙄𝘾𝘼 ✨*`, m, null, fake);
  104. //conn.sendButton(m.chat, '𝘾𝙃𝙄𝘾𝘼 ✨', wm, json.result.female, [['𝙎𝙄𝙂𝙐𝙄𝙀𝙉𝙏𝙀 | 𝙉𝙀𝙓𝙏 🆕', `/${command}`]], null, null, m)
  105. conn.sendFile(m.chat, json.result.male, 'error.jpg', `𝘾𝙃𝙄𝘾𝙊 ✨`, m, null, fake)
  106. //conn.sendButton(m.chat, '𝘾𝙃𝙄𝘾𝙊 ✨', wm, json.result.male, [['𝙎𝙄𝙂𝙐𝙄𝙀𝙉𝙏𝙀 | 𝙉𝙀𝙓𝙏 🆕', `/${command}`]], null, null, m)
  107. }
  108. if (command == 'waifu') {
  109. const res = await fetch('https://api.waifu.pics/sfw/waifu');
  110. if (!res.ok) throw await res.text();
  111. const json = await res.json();
  112. if (!json.url) throw 'Error!';
  113. conn.sendFile(m.chat, json.url, 'error.jpg', `_*💖 A-ara ara sempai 💖*_`, m, null, fake);
  114. //conn.sendButton(m.chat, `*💖 A-ara ara sempai 💖*`, botname, json.url, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  115. }
  116. if (command == 'wpmontaña') {
  117. const anu = await wallpaper('mountain');
  118. const result = anu[Math.floor(Math.random() * anu.length)];
  119. const haha = result.image[0];
  120. await conn.reply(m.chat, global.wait, m);
  121. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  122. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  123. // conn.sendMessage(m.chat, {image: {url: haha}, caption: `_${command}_`.trim()}, {quoted: m});
  124. }
  125. if (command == 'pubg') {
  126. const pug = ['pubg', 'playerunknowns battlegrounds', 'pubg mobile'];
  127. const pug2 = pug[Math.floor(Math.random() * pug.length)];
  128. const anu = await wallpaper(pug2);
  129. const result = anu[Math.floor(Math.random() * anu.length)];
  130. const haha = result.image[0];
  131. await conn.reply(m.chat, global.wait, m);
  132. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  133. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  134. }
  135. if (command == 'wpgaming') {
  136. const ga = ['gaming', 'gamers', 'video game'];
  137. const ga2 = ga[Math.floor(Math.random() * ga.length)];
  138. const anu = await wallpaper(ga2);
  139. const result = anu[Math.floor(Math.random() * anu.length)];
  140. const haha = result.image[0];
  141. await conn.reply(m.chat, global.wait, m);
  142. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  143. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  144. }
  145. if (command == 'wpaesthetic') {
  146. const anu = await wallpaper('aesthetic');
  147. const result = anu[Math.floor(Math.random() * anu.length)];
  148. const haha = result.image[0];
  149. await conn.reply(m.chat, global.wait, m);
  150. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  151. // conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  152. }
  153. if (command == 'wprandom') {
  154. const res = (await axios.get(`https://raw.githubusercontent.com/BrunoSobrino/TheMystic-Bot-MD/master/src/JSON/wprandom.json`)).data;
  155. const res2 = await res[Math.floor(res.length * Math.random())];
  156. conn.sendFile(m.chat, res2, 'error.jpg', `_${command}_`, m, null, fake);
  157. //conn.sendButton(m.chat, `_${command}_`, botname, res2, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  158. }
  159. if (command == 'coffee') {
  160. const haha = await conn.getFile(`https://coffee.alexflipnote.dev/random`);
  161. await conn.reply(m.chat, global.wait, m);
  162. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  163. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄 🔄', `/${command}`]], null, null, m)
  164. }
  165. if (command == 'pentol') {
  166. const anu = await wallpaper('milk y mocha');
  167. const result = anu[Math.floor(Math.random() * anu.length)];
  168. const haha = result.image[0];
  169. await conn.reply(m.chat, global.wait, m);
  170. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  171. }
  172. if (command == 'caricatura') {
  173. const anu = await wallpaper('cartoon network');
  174. const result = anu[Math.floor(Math.random() * anu.length)];
  175. const haha = result.image[0];
  176. await conn.reply(m.chat, global.wait, m);
  177. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  178. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝐒𝐈𝐆𝐔𝐈𝐄𝐍𝐓𝐄𝙴 🔄', `/${command}`]], null, null, m)
  179. }
  180. if (command == 'ciberespacio') {
  181. const anu = await wallpaper('cyberspace');
  182. const result = anu[Math.floor(Math.random() * anu.length)];
  183. const haha = result.image[0];
  184. await conn.reply(m.chat, global.wait, m);
  185. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  186. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝚂𝙸𝙶𝚄𝙸𝙴𝙽𝚃𝙴 🔄', `/${command}`]], null, null, m)
  187. }
  188. if (command == 'technology') {
  189. const anu = await wallpaper('technology');
  190. const result = anu[Math.floor(Math.random() * anu.length)];
  191. const haha = result.image[0];
  192. await conn.reply(m.chat, global.wait, m);
  193. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  194. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝚂𝙸𝙶𝚄𝙸𝙴𝙽𝚃𝙴 🔄', `/${command}`]], null, null, m)
  195. }
  196. if (command == 'doraemon') {
  197. const anu = await wallpaper('doraemon');
  198. const result = anu[Math.floor(Math.random() * anu.length)];
  199. const haha = result.image[0];
  200. await conn.reply(m.chat, global.wait, m);
  201. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  202. // conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝚂𝙸𝙶𝚄𝙸𝙴𝙽𝚃𝙴 🔄', `/${command}`]], null, null, m)
  203. }
  204. if (command == 'hacker') {
  205. const anu = await wallpaper('hacker');
  206. const result = anu[Math.floor(Math.random() * anu.length)];
  207. const haha = result.image[0];
  208. await conn.reply(m.chat, global.wait, m);
  209. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  210. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝚂𝙸𝙶𝚄𝙸𝙴𝙽𝚃𝙴 🔄', `/${command}`]], null, null, m)
  211. }
  212. if (command == 'planeta') {
  213. const anu = await wallpaper('planet');
  214. const result = anu[Math.floor(Math.random() * anu.length)];
  215. const haha = result.image[0];
  216. await conn.reply(m.chat, global.wait, m);
  217. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  218. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝚂𝙸𝙶𝚄𝙸𝙴𝙽𝚃𝙴 🔄', `/${command}`]], null, null, m)
  219. }
  220. if (command == 'randomprofile') {
  221. const haha = await conn.getFile(`https://api.zahwazein.xyz/randomimage/profil?apikey=${apikey}`);
  222. await conn.reply(m.chat, global.wait, m);
  223. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  224. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝚂𝙸𝙶𝚄𝙸𝙴𝙽𝚃𝙴 🔄', `/${command}`]], null, null, m)
  225. }
  226. if (command == 'wpaesthetic2') {
  227. const haha = await conn.getFile(`https://api.zahwazein.xyz/randomimage/aesthetic?apikey=${apikey}`);
  228. await conn.reply(m.chat, global.wait, m);
  229. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  230. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝚂𝙸𝙶𝚄𝙸𝙴𝙽𝚃𝙴 🔄', `/${command}`]], null, null, m)
  231. }
  232. if (command == 'wpvehiculo') {
  233. const haha = await conn.getFile(`https://api.zahwazein.xyz/randomimage/mobil?apikey=${apikey}`);
  234. await conn.reply(m.chat, global.wait, m);
  235. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  236. // conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝚂𝙸𝙶𝚄𝙸𝙴𝙽𝚃𝙴 🔄', `/${command}`]], null, null, m)
  237. }
  238. if (command == 'wallhp') {
  239. const haha = await conn.getFile(`https://api.zahwazein.xyz/randomimage/wallhp?apikey=${apikey}`);
  240. await conn.reply(m.chat, global.wait, m);
  241. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  242. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝚂𝙸𝙶𝚄𝙸𝙴𝙽𝚃𝙴 🔄', `/${command}`]], null, null, m)
  243. }
  244. if (command == 'wpmoto') {
  245. const haha = await conn.getFile(`https://api.zahwazein.xyz/randomimage/motor?apikey=${apikey}`);
  246. await conn.reply(m.chat, global.wait, m);
  247. conn.sendFile(m.chat, haha, 'error.jpg', `_${command}_`, m, null, fake);
  248. //conn.sendButton(m.chat, `_${command}_`, botname, haha, [['🔄 𝚂𝙸𝙶𝚄𝙸𝙴𝙽𝚃𝙴 🔄', `/${command}`]], null, null, m)
  249. }}
  250. handler.command = handler.help = ['akira', 'akiyama', 'anna', 'asuna', 'ayuzawa', 'boruto', 'chiho', 'chitoge', 'deidara', 'erza', 'elaina', 'eba', 'emilia', 'hestia', 'hinata', 'inori', 'isuzu', 'itachi', 'itori', 'kaga', 'kagura', 'kaori', 'keneki', 'kotori', 'kurumi', 'madara', 'mikasa', 'miku', 'minato', 'naruto', 'nezuko', 'sagiri', 'sasuke', 'sakura', 'cosplay', 'blackpink', 'cristianoronaldo', 'cr7', 'cat', 'itzy', 'kpopitzy', 'kpop', 'loli', 'lolivid', 'lolivideos', 'lolívid', 'meme', 'memes', 'meme2', 'memes2', 'messi', 'navidad', 'neko', 'ppcp', 'ppcouple', 'waifu', 'wpmontaña', 'pubg', 'wpgaming', 'wpaesthetic', 'wprandom', 'coffee', 'pentol', 'caricatura', 'ciberespacio', 'technology', 'doraemon', 'hacker', 'planeta', 'randomprofile', 'wpaesthetic2', 'wpvehiculo', 'wallhp', 'wpmoto'];
  251. handler.tags = ['randow'];
  252. handler.register = true
  253. handler.limit = 1
  254. export default handler;
  255. global.loli = [
  256. 'https://i.pinimg.com/736x/cf/7d/74/cf7d741fecb5e2c6abe1b9b237b30b04.jpg',
  257. 'https://i.pinimg.com/736x/b5/b2/62/b5b2620e392e74139487c209c3b03dc2.jpg',
  258. 'https://i.pinimg.com/736x/b6/b4/0b/b6b40b6ae0e0123adc040d16d4b05348.jpg',
  259. 'https://i.pinimg.com/originals/e3/30/66/e33066f3cdbddd7ba3e37d2d576e8b66.jpg',
  260. 'https://i.pinimg.com/474x/7a/72/eb/7a72ebd743f1aa0df55965e6856d02c6.jpg',
  261. 'https://i.pinimg.com/originals/9b/2d/65/9b2d652e8f9742d6e6767a5eb3424df6.png',
  262. 'https://i.pinimg.com/originals/ee/c1/d8/eec1d883e44ef0a61d11fc6fe3c6d827.jpg',
  263. 'https://i.pinimg.com/736x/d0/2f/49/d02f4926e0f7b32685fcce4203752532.jpg',
  264. 'https://i.pinimg.com/564x/b4/3d/64/b43d641d0a624008996a01bf64f411d1.jpg',
  265. 'https://i.pinimg.com/236x/a4/ad/52/a4ad52b80ea5538d0cc743c95ecca40f.jpg',
  266. 'https://i.pinimg.com/originals/de/d4/61/ded461956b110d610f1190dcae5cd59f.jpg',
  267. 'https://i.pinimg.com/564x/8e/5c/f0/8e5cf0a7026d0a8b2e94693d5bcf9321.jpg',
  268. 'https://i.pinimg.com/originals/b5/02/bc/b502bc59d17ae464560202d1e000a11a.jpg',
  269. 'https://i.pinimg.com/originals/49/6e/4b/496e4b7de7edaa6e03c45250f4f516fc.jpg',
  270. 'https://i.pinimg.com/originals/4e/dd/43/4edd430da39fb3f969865fb377878879.jpg',
  271. 'https://i.pinimg.com/originals/82/8c/5c/828c5c9543010265c82cb3e9a7e22539.jpg',
  272. 'https://i.pinimg.com/236x/2d/87/0f/2d870ffe100b76810577f90fe8f4c121.jpg',
  273. 'https://i.pinimg.com/564x/c7/9c/69/c79c6998a87196995b8370bc45344ffd.jpg',
  274. 'https://i.pinimg.com/474x/ca/5f/70/ca5f708da44d1e5b74d604f91d2940b9.jpg',
  275. 'https://i.pinimg.com/originals/3c/4f/fb/3c4ffbb99fda42f0cb0bd8a5a8407298.jpg',
  276. 'https://i.pinimg.com/originals/c6/73/13/c67313758a2eda2cb063c419b20c4065.jpg',
  277. 'https://i.pinimg.com/736x/37/74/13/3774139f776a42d59d28f56a783fa3dc.jpg',
  278. 'https://i.pinimg.com/736x/b6/1e/2d/b61e2d7cdd166b63c0e0f29a90ccdca2.jpg',
  279. 'https://i.pinimg.com/736x/c9/14/e6/c914e6d3e52c218348a2e0b9581a5d9a.jpg',
  280. 'https://i.pinimg.com/originals/7d/cd/4e/7dcd4eedebe7da3d4e9567ede11439e8.jpg',
  281. 'https://i.pinimg.com/736x/30/3a/db/303adb62a2e5fe179f698ff992520420.jpg',
  282. 'https://i.pinimg.com/736x/db/86/c6/db86c635ac3ae10373ff460eea4ec7fe.jpg',
  283. 'https://i.pinimg.com/564x/aa/d0/89/aad089b60695808ef7f3d86550907410.jpg',
  284. 'https://i.pinimg.com/736x/d9/fb/a8/d9fba8e7ae331cbe83bd0dbb8697e15f.jpg',
  285. 'https://i.pinimg.com/originals/05/58/b4/0558b44e6fb2afaaa22db18adcbc5f30.jpg',
  286. 'https://i.pinimg.com/736x/97/5c/dd/975cdd87fe34a5832f07b8e17d5edd1d.jpg',
  287. 'https://i.pinimg.com/originals/f0/46/e0/f046e0147179103d0d6c42bb0a77e8e6.png',
  288. 'https://i.pinimg.com/originals/9a/76/8b/9a768b08d31d07e30db78ee24be8ea62.jpg',
  289. 'https://i.pinimg.com/originals/42/ca/20/42ca20ce567b97ac89eec4e7ed79f1e1.png',
  290. 'https://i.pinimg.com/236x/37/a7/33/37a7333ff01f4691a23fbaee1abffb58.jpg',
  291. 'https://i.pinimg.com/736x/06/4a/7f/064a7ff14a04fd8bb624e075568213ba.jpg',
  292. 'https://i.pinimg.com/originals/7c/a0/66/7ca0669c73078cad874e27e7e20e2d14.jpg',
  293. 'https://i.pinimg.com/originals/6f/1b/3f/6f1b3fa3dcde574df7836d2e8a295a9f.jpg',
  294. 'https://i.pinimg.com/originals/bd/43/d1/bd43d1beba3c9888707ca91d0ac8ed85.png',
  295. 'https://i.pinimg.com/474x/62/65/a3/6265a32d6e32fcfd0231e1a1ada10016.jpg',
  296. 'https://i.pinimg.com/originals/67/e0/87/67e0879eac574ea3290ecbde629adb37.jpg',
  297. 'https://i.pinimg.com/originals/a5/bb/d5/a5bbd57f5b1b884f27aff0890de43216.jpg',
  298. 'https://i.pinimg.com/564x/9a/36/94/9a3694a6bd14e2294706b619b7879d41.jpg',
  299. 'https://i.pinimg.com/736x/f6/71/7d/f6717d0dffda72a01a51b8d437e05eba.jpg',
  300. 'https://i.pinimg.com/originals/9f/4c/50/9f4c508e6ff5f7a6f790980239a18497.png',
  301. 'https://i.pinimg.com/originals/1e/25/7f/1e257fd78c54bf3de6129d8ad38d39b6.png',
  302. 'https://i.pinimg.com/originals/13/c5/77/13c57739ad0cdc60fc8ff065f00ee9aa.png',
  303. 'https://i.pinimg.com/originals/c9/5e/03/c95e038b17d47a05289b1e951817fd04.jpg',
  304. 'https://i.pinimg.com/originals/82/e3/59/82e359ea27b9acf90359f6a2234af06d.jpg',
  305. 'https://i.pinimg.com/originals/8d/71/9d/8d719d260e8bb1ef1ac8c2db6f9ca301.jpg',
  306. 'https://i.pinimg.com/736x/72/f4/eb/72f4eb5b28e89035c10007125d67e7c3.jpg',
  307. 'https://i.pinimg.com/originals/b4/fe/35/b4fe35474c76728474d2ef6d92493a7e.jpg',
  308. 'https://i.pinimg.com/originals/b3/1b/50/b31b50676592389319594e04ab1cc54a.jpg',
  309. 'https://i.pinimg.com/originals/41/72/a3/4172a3f2212bd8fb33b12a39e1e5bcde.jpg',
  310. 'https://i.pinimg.com/originals/15/53/e3/1553e31681b77be72dd4dfe34e7ef5ff.jpg',
  311. 'https://i.pinimg.com/originals/4a/c6/64/4ac66497c0ef2ad7788be3042e45a418.jpg',
  312. 'https://i.pinimg.com/originals/ab/ff/e7/abffe7475bab7d1a91d2f45742f7753b.jpg',
  313. 'https://i.pinimg.com/474x/12/30/23/123023de1c90d7391356aa291226b3df.jpg',
  314. 'https://i.pinimg.com/originals/a3/eb/51/a3eb51e91236feeb47b6a192bc501edc.jpg',
  315. 'https://i.pinimg.com/originals/f0/7a/3e/f07a3e338ad35cad89254f81f430793a.jpg',
  316. 'https://i.pinimg.com/originals/52/c9/d1/52c9d1662b9980ea5828c15c6f2f40bc.jpg',
  317. 'https://i.pinimg.com/originals/e6/35/f0/e635f0a968870cfa1f61fe7c54294ebe.jpg',
  318. 'https://i.pinimg.com/originals/e1/58/5b/e1585bda44f7c2f53651188438883eca.jpg',
  319. 'https://i.pinimg.com/736x/07/1e/93/071e93d9e922000826e5b97c0125f3f3.jpg',
  320. 'https://i.pinimg.com/originals/75/a6/6a/75a66aa75bbbc5943de0982b28ce3a7d.png',
  321. 'https://i.pinimg.com/originals/81/c2/68/81c268fe66221cf4262b8596acce22bd.jpg',
  322. 'https://i.pinimg.com/originals/b9/f8/8c/b9f88c6b29df1bb69704164f9a1f71f0.jpg',
  323. 'https://i.pinimg.com/736x/bb/e4/9b/bbe49bc932cb327ebf32a4f09099a3f5.jpg',
  324. 'https://i.pinimg.com/originals/82/3d/c5/823dc5924e67e90e2c18f9388667f83d.jpg',
  325. 'https://i.pinimg.com/236x/75/d6/f4/75d6f4c8773e43d190597ce4fba88d08.jpg',
  326. 'https://i.pinimg.com/236x/ef/46/6b/ef466bdbb29a3b441afeb795f2e54c9a.jpg',
  327. 'https://i.pinimg.com/564x/8e/44/88/8e448838113866ee507bf57d4ebebedd.jpg',
  328. 'https://i.pinimg.com/originals/1f/f8/d7/1ff8d799952c720cb7e78aa058ac41f7.jpg',
  329. 'https://i.pinimg.com/originals/83/de/b7/83deb7d5108736a3703a21fbb574daa6.jpg',
  330. 'https://i.pinimg.com/originals/6a/ae/04/6aae043bd88448a6302ae0322053faee.jpg',
  331. 'https://i.pinimg.com/originals/4e/0b/62/4e0b62b3d42e3f2b4b021ebc60b12023.jpg',
  332. 'https://i.pinimg.com/originals/e3/55/3c/e3553cde950d823a5862b301df9adc29.png',
  333. 'https://i.pinimg.com/originals/53/a2/79/53a279fb4a12b715beee319a0c1343d6.png',
  334. 'https://i.pinimg.com/originals/4a/3d/01/4a3d0165a5d1a1ef2577a09057377184.jpg',
  335. 'https://i.pinimg.com/originals/df/aa/2c/dfaa2cb28ab4353732a2dfe2c20932eb.jpg',
  336. 'https://i.pinimg.com/564x/2e/3a/6c/2e3a6cd9e819e888d38cf70d0a117dbf.jpg',
  337. 'https://i.pinimg.com/originals/c4/32/7d/c4327df2c6d37f8426d93d352c48bd99.png',
  338. 'https://i.pinimg.com/originals/54/35/d6/5435d61e1811e8ae1f364095c3eb32ad.jpg',
  339. 'https://i.pinimg.com/736x/42/2d/05/422d05e07268257dbf0602f8417a16a1.jpg',
  340. 'https://i.pinimg.com/236x/f3/05/ce/f305ce7aa1e8622cb6634dea461a278a.jpg',
  341. 'https://i.pinimg.com/originals/e3/49/94/e34994b4aeec15a025cf95b622e286f8.png',
  342. 'https://i.pinimg.com/originals/30/1d/27/301d27cd014867f80c851877fa3a8bcc.jpg',
  343. 'https://i.pinimg.com/originals/cf/bb/4a/cfbb4a669cadaab18b19f5522722f3cb.jpg',
  344. 'https://i.pinimg.com/originals/cb/b2/0b/cbb20bf3a92499982daa0d1059d17790.jpg',
  345. 'https://i.pinimg.com/474x/fe/aa/22/feaa22b7f776fc988fb4ccbf2c539549.jpg',
  346. 'https://i.pinimg.com/originals/c9/ea/f7/c9eaf78967ed514f730e6d161b9ee1f9.png',
  347. 'https://i.pinimg.com/736x/26/ba/79/26ba79102b971a2da11349d7fd84fdc1.jpg',
  348. 'https://i.pinimg.com/736x/72/2c/9b/722c9bb59f65d1d3148f1b751c8ca7d5.jpg',
  349. 'https://i.pinimg.com/736x/6c/f3/04/6cf3041ebf6a8f7e4836c98837ea9609.jpg',
  350. 'https://i.pinimg.com/736x/86/80/77/8680778b298641c65d81dd0d1c0ee280.jpg',
  351. 'https://i.pinimg.com/originals/25/24/22/2524225fc756bc17f98f26d50ef342fa.jpg',
  352. 'https://i.pinimg.com/280x280_RS/dc/6e/53/dc6e53b48dd3de659bd43257056147a6.jpg',
  353. 'https://i.pinimg.com/736x/73/e0/fb/73e0fb7a2f1ab8a7216f076da3574d0f.jpg',
  354. 'https://i.pinimg.com/originals/d7/a4/ac/d7a4ac159dfac1fa0ac5b0d9114a025a.jpg',
  355. 'https://i.pinimg.com/originals/cd/ef/fc/cdeffc0bf155fe2c8c63561b437c6864.jpg',
  356. ];
  357. global.lolivid = [
  358. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli1.mp4',
  359. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli2.mp4',
  360. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli3.mp4',
  361. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli4.mp4',
  362. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli5.mp4',
  363. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli6.mp4',
  364. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli7.mp4',
  365. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli8.mp4',
  366. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli9.mp4',
  367. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli10.mp4',
  368. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli11.mp4',
  369. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli12.mp4',
  370. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli13.mp4',
  371. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli14.mp4',
  372. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli15.mp4',
  373. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli16.mp4',
  374. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli17.mp4',
  375. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli18.mp4',
  376. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli19.mp4',
  377. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli20.mp4',
  378. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli21.mp4',
  379. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli22.mp4',
  380. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli23.mp4',
  381. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli24.mp4',
  382. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli25.mp4',
  383. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli26.mp4',
  384. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli27.mp4',
  385. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli28.mp4',
  386. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli29.mp4',
  387. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli30.mp4',
  388. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli31.mp4',
  389. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli32.mp4',
  390. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli33.mp4',
  391. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli34.mp4',
  392. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli35.mp4',
  393. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli36.mp4',
  394. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli37.mp4',
  395. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli38.mp4',
  396. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli39.mp4',
  397. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli40.mp4',
  398. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli41.mp4',
  399. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli42.mp4',
  400. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli43.mp4',
  401. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli44.mp4',
  402. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli45.mp4',
  403. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli46.mp4',
  404. 'https://raw.githubusercontent.com/NurFy/txt/main/asupan-loli/loli47.mp4',
  405. ];
  406. async function wallpaper(title, page = '1') {
  407. return new Promise((resolve, reject) => {
  408. axios.get(`https://www.besthdwallpaper.com/search?CurrentPage=${page}&q=${title}`).then(({data}) => {
  409. const $ = cheerio.load(data);
  410. const hasil = [];
  411. $('div.grid-item').each(function(a, b) {
  412. hasil.push({
  413. title: $(b).find('div.info > a > h3').text(),
  414. type: $(b).find('div.info > a:nth-child(2)').text(),
  415. source: 'https://www.besthdwallpaper.com/'+$(b).find('div > a:nth-child(3)').attr('href'),
  416. image: [$(b).find('picture > img').attr('data-src') || $(b).find('picture > img').attr('src'), $(b).find('picture > source:nth-child(1)').attr('srcset'), $(b).find('picture > source:nth-child(2)').attr('srcset')],
  417. });
  418. });
  419. resolve(hasil);
  420. });
  421. });
  422. }