fa
Feedback
IAmRy27 Official

IAmRy27 Official

رفتن به کانال در Telegram

نمایش بیشتر
کشور مشخص نشده استدسته بندی مشخص نشده است
419
مشترکین
+324 ساعت
+77 روز
+930 روز
آرشیو پست ها
https://api-mp4.vercel.app/api/dl?url= 18+ site ke liye api
all muthal sites support 😂😂

🎬 Vidbunker HD Streamer & Downloader ⚡️ Buffer-free online video player & high-speed direct downloader. ✨ Key Features: 🔹 S
🎬 Vidbunker HD Streamer & Downloader ⚡️ Buffer-free online video player & high-speed direct downloader. ✨ Key Features: 🔹 Smooth Web Player: Watch any video instantly inside a clean, modern interface. 🔹 Full Original Downloads: Download complete original video files in high speed without truncation. 🔹 Smart Retry Support: Built-in auto-recovery for busy links. 🔹 Fully Responsive: Optimized for both Mobile & Desktop devices. 🌐 Try It Now: 👉https://vidbunker-hd-player.bollywoodfry01.workers.dev/ 💡 Developed with ❤️ by @iamry27 🔔 Join our channel for more awesome tools & updates: @RealIAmRy27

Terabox & Diskwala Streamer Website Live Link https://diskwala.bollywoodfry01.workers.dev/
Terabox & Diskwala Streamer Website Live
Link https://diskwala.bollywoodfry01.workers.dev/

🪔🌺 Ganpati Bappa Morya! 🌺🪔

fixed 😎

Diskwala Api coming Soon 😋

Repo All Apis src codes Sale Now Demo Link1 Link2 Price Dm @iamry27

Repo Publish Kardu Kya 😎
Repo Publish Kardu Kya 😎

Balance: 7.568$ Total earnings: 17.568$ Refer Link https://t.me/mysearch?start=JrkcEmJ6Qci-mK3J809KmoBl8FD4NdzpuV-ZsbmO3LE Sirf channel group se connect karke chhod do earning hota rhega Real Hai 10$ withdrawal liya hu Proof Link https://i.ibb.co/bj2QqB9V/image.jpg

Thanks Ak Nove Bhai Username Bana Lete to mention kar deta ❤️

@PaidServiceXBot Need 200rs Argent Koi De Sakta Hai Kya Badlne Me TB Src De Dunga Sabka Jitna TB Api Hai

Sabhi Terabox Api Src code De Dunga 600 Subscriber Hone Pr 😎

export default {
  async fetch(request, env, ctx) {
    // CORS headers handle karna
    const corsHeaders = {
      'Access-Control-Allow-Origin': '*',
      'Access-Control-Allow-Methods': 'GET, POST, OPTIONS',
      'Access-Control-Allow-Headers': 'Content-Type',
    };

    if (request.method === 'OPTIONS') {
      return new Response(null, { headers: corsHeaders });
    }

    // URL parameter GET query ya POST body se nikalna
    let targetUrl = '';
    const reqUrl = new URL(request.url);

    if (request.method === 'GET') {
      targetUrl = reqUrl.searchParams.get('url');
    } else if (request.method === 'POST') {
      try {
        const body = await request.json();
        targetUrl = body.url;
      } catch (e) {
        return new Response(
          JSON.stringify({ success: false, error: 'Invalid JSON body' }),
          { status: 400, headers: { ...corsHeaders, 'Content-Type': 'application/json' } }
        );
      }
    }

    if (!targetUrl) {
      return new Response(
        JSON.stringify({ success: false, error: 'Missing "url" parameter' }),
        { status: 400, headers: { ...corsHeaders, 'Content-Type': 'application/json' } }
      );
    }

    try {
      // Pinterest Video Downloader ko form data bhejna
      const formData = new URLSearchParams();
      formData.append('url', targetUrl);

      const response = await fetch('https://pinterestvideodownloader.com/download.php', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/x-www-form-urlencoded',
          'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36',
          'Origin': 'https://pinterestvideodownloader.com',
          'Referer': 'https://pinterestvideodownloader.com/en/',
        },
        body: formData.toString(),
      });

      const html = await response.text();

      // HTML response se media links extract karna (Regex dwara)
      // Video link check
      const videoMatch = html.match(/<a[^>]+href="([^"]+\.mp4[^"]*)"/i);
      // Image link check
      const imageMatch = html.match(/<a[^>]+href="([^"]+(?:pinimg\.com|\.jpg|\.png|\.webp)[^"]*)"/i);

      let downloadUrl = null;
      let mediaType = null;

      if (videoMatch && videoMatch[1]) {
        downloadUrl = videoMatch[1];
        mediaType = 'video';
      } else if (imageMatch && imageMatch[1]) {
        downloadUrl = imageMatch[1];
        mediaType = 'image';
      }

      if (!downloadUrl) {
        return new Response(
          JSON.stringify({ success: false, error: 'Media URL not found or invalid Pinterest link' }),
          { status: 404, headers: { ...corsHeaders, 'Content-Type': 'application/json' } }
        );
      }

      return new Response(
        JSON.stringify({
          success: true,
          type: mediaType,
          download_url: downloadUrl,
        }),
        {
          status: 200,
          headers: { ...corsHeaders, 'Content-Type': 'application/json' },
        }
      );
    } catch (err) {
      return new Response(
        JSON.stringify({ success: false, error: err.message }),
        { status: 500, headers: { ...corsHeaders, 'Content-Type': 'application/json' } }
      );
    }
  },
};

Complete 600 Suscriber Hone Par Repo De Publish Kar Dunga 👍