Ayogiakbar

TELEGRAM CHANNEL SEARCH

Aug 9th, 2025 (edited)
321
0
Never
20
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Telegram Channel Search
  3.  * Author : gienetic
  4.  * Base   : https://tgramsearch.com/
  5.  */
  6.  
  7. const axios = require("axios");
  8. const cheerio = require("cheerio");
  9.  
  10. // 🔍 Ambil link t.me asli dari halaman join
  11. async function getRealTelegramLink(joinUrl) {
  12.   try {
  13.     const { data } = await axios.get(joinUrl, {
  14.       headers: {
  15.         "User-Agent":
  16.           "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
  17.       }
  18.     });
  19.  
  20.     const $ = cheerio.load(data);
  21.     const realLink = $('a[href^="tg://resolve"]').attr("href");
  22.  
  23.     if (realLink) {
  24.       const username = realLink.split("tg://resolve?domain=")[1];
  25.       return `https://t.me/${username}`;
  26.     }
  27.   } catch (e) {
  28.     console.error(`💢 Gagal ambil link asli cuks: ${e.message}`);
  29.   }
  30.   return joinUrl; // fallback kalo gagal
  31. }
  32.  
  33. // 🔍 Cari channel Telegram berdasarkan kata kunci
  34. async function searchTelegramChannels(query) {
  35.   try {
  36.     console.log(`Wett... lagi nyari channel "${query}" nih cuks...`);
  37.     const url = `https://en.tgramsearch.com/search?query=${encodeURIComponent(query)}`;
  38.  
  39.     const { data } = await axios.get(url, {
  40.       headers: {
  41.         "User-Agent":
  42.           "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
  43.       }
  44.     });
  45.  
  46.     const $ = cheerio.load(data);
  47.     const results = [];
  48.  
  49.     for (const el of $(".tg-channel-wrapper").toArray()) {
  50.       const name = $(el).find(".tg-channel-link a").text().trim();
  51.       let link = $(el).find(".tg-channel-link a").attr("href");
  52.       const image = $(el).find(".tg-channel-img img").attr("src");
  53.       const members = $(el).find(".tg-user-count").text().trim();
  54.       const description = $(el).find(".tg-channel-description").text().trim();
  55.       const category = $(el).find(".tg-channel-categories a").text().trim();
  56.  
  57.       // 🎯 Biar link join jadi t.me
  58.       if (link?.startsWith("/join/")) {
  59.         link = await getRealTelegramLink(`https://en.tgramsearch.com${link}`);
  60.       } else if (link?.startsWith("tg://resolve?domain=")) {
  61.         const username = link.split("tg://resolve?domain=")[1];
  62.         link = `https://t.me/${username}`;
  63.       }
  64.  
  65.       results.push({ name, link, image, members, description, category });
  66.     }
  67.  
  68.     if (results.length === 0) {
  69.       console.log("Waduh cuks, nggak nemu channelnya 😭");
  70.     }
  71.  
  72.     return results;
  73.   } catch (err) {
  74.     console.error(`💢 Error scraping nye cuks: ${err.message}`);
  75.     return [];
  76.   }
  77. }
  78.  
  79. module.exports = { searchTelegramChannels };
  80.  
  81. /*
  82. // 💡 Contoh pemakaian di CLI
  83. searchTelegramChannels("janda").then(res => {
  84.   res.forEach((item, i) => {
  85.     console.log(`\n${i + 1}. ${item.name}`);
  86.     console.log(`   👥 Members   : ${item.members}`);
  87.     console.log(`   🏷️ Category : ${item.category}`);
  88.     console.log(`   📝 Deskripsi : ${item.description}`);
  89.     console.log(`   🔗 Link      : ${item.link}`);
  90.     console.log(`   🖼️ Foto      : ${item.image}`);
  91.   });
  92. });
  93. */
  94.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Nyxradod
    15 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment