• Chào Guest,

    Hãy cùng mọi người hướng đến một cộng đồng MMO ngày càng trong sạch. MMO4ME.com sẽ là nơi tập trung tất cả những thông tin uy tín cũng như lừa đảo (SCAM) của bất kì cá nhân nào. (Đọc chi tiết!)

    Chương trình khởi động:
    Thưởng 1.5 MR ngay khi bạn tạo yêu cầu mới cho bất kì cá nhân nào và được duyệt thành công. Chi tiết các bạn có thể xem thêm tại đây.

Ask Cần lắm 1 tool get all link channel/playlist youtube

Từ khi YTube Ninja Extractor của pro Nhu Le ra đi thì chưa tìm đc sòft nào ngon để get được toàn bộ link của channel và playlist
Free YouTube Download và YTD Video Downloader yêu cầu mua key nhưng cũng chỉ get được link của playlist
Các pro reup giờ đang dùng tool nào vậy ???
YTD Video Downloader mình thấy có tất cả các chức năng dowload từ channel -> pll nhưng có hạn chế vẫn thấy thiếu là làm sao để add luôn các tags vô luôn! Cậu nên check lại nhé. Mình dùng nó dow thì tạm ổn nhưng cứ khoảng vài chục videos thì hãy bị lỗi không lấy được name của videos đó thôi =)
 
Share code cho bác nào cần
PHP:
<?php
error_reporting(0);
function doMagic($url)
{
  $curl = curl_init();
  curl_setopt($curl, CURLOPT_URL, $url);
  curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.12011-10-16 20:23:00");
  curl_setopt($curl, CURLOPT_REFERER, "http://movies8.io");
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($curl, CURLOPT_TIMEOUT, 30);
  curl_setopt($curl, CURLOPT_FOLLOWLOCATION,true);

  $html = curl_exec($curl);
  curl_close($curl);

  return $html;
}
if(isset($_POST['submit'])) {
      $channelId = $_POST['channelId'];
      $s = doMagic('https://www.googleapis.com/youtube/v3/search?key=AIzaSyCPN60M1hLMtYTXzrqGbI4qRdaNF3iwKTk&channelId='.$channelId.'&part=snippet,id&order=date&maxResults=50');
      $json = json_decode($s);
      $pageInfo = $json->{'pageInfo'};
      $totalPage = $pageInfo->{'totalResults'};
      $items = $json->{'items'};
      foreach ($items as $item) {
          $id = $item->{'id'};
          $videoId = $id->{'videoId'};
          if (strlen($videoId) > 3) {
            echo 'https://youtube.com/watch?v='.$videoId.'<br>';
          }
      }
      if ($totalPage > 50) {
        $count = round($totalPage / 50);
        $pageToken = $json->{'nextPageToken'};
        for ($i=0; $i < $count; $i++) {
          $s = doMagic('https://www.googleapis.com/youtube/v3/search?key=AIzaSyCPN60M1hLMtYTXzrqGbI4qRdaNF3iwKTk&channelId='.$channelId.'&part=snippet,id&order=date&maxResults=50&pageToken='.$pageToken);
          $json = json_decode($s);
          $pageToken = $json->{'nextPageToken'};
          $pageInfo = $json->{'pageInfo'};
          $totalPage = $pageInfo->{'totalResults'};
          $items = $json->{'items'};
          foreach ($items as $item) {
              $id = $item->{'id'};
              $videoId = $id->{'videoId'};
              if (strlen($videoId) > 3) {
            echo 'https://youtube.com/watch?v='.$videoId.'<br>';
              }
          }
        }
      }
}

?>




<form method="post">
   <p>Channel ID: <input type="text" name="channelId" value="UCCjGx55Ep98elhWwYN1D5Gw" /></p>
   <input type="submit" name="submit" value="Submit" />
</form>
 
https://sourceforge.net/projects/youtubeexport/ < get hết link trong playlist xuất ra notepad hoặc html.



Từ khi YTube Ninja Extractor của pro Nhu Le ra đi thì chưa tìm đc sòft nào ngon để get được toàn bộ link của channel và playlist
Free YouTube Download và YTD Video Downloader yêu cầu mua key nhưng cũng chỉ get được link của playlist
Các pro reup giờ đang dùng tool nào vậy ???

get được link, nhưng ko ra dạng text bạn ơi, đã thử lâu rồi
 
Share code cho bác nào cần
PHP:
<?php
error_reporting(0);
function doMagic($url)
{
  $curl = curl_init();
  curl_setopt($curl, CURLOPT_URL, $url);
  curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.12011-10-16 20:23:00");
  curl_setopt($curl, CURLOPT_REFERER, "http://movies8.io");
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($curl, CURLOPT_TIMEOUT, 30);
  curl_setopt($curl, CURLOPT_FOLLOWLOCATION,true);

  $html = curl_exec($curl);
  curl_close($curl);

  return $html;
}
if(isset($_POST['submit'])) {
      $channelId = $_POST['channelId'];
      $s = doMagic('https://www.googleapis.com/youtube/v3/search?key=AIzaSyCPN60M1hLMtYTXzrqGbI4qRdaNF3iwKTk&channelId='.$channelId.'&part=snippet,id&order=date&maxResults=50');
      $json = json_decode($s);
      $pageInfo = $json->{'pageInfo'};
      $totalPage = $pageInfo->{'totalResults'};
      $items = $json->{'items'};
      foreach ($items as $item) {
          $id = $item->{'id'};
          $videoId = $id->{'videoId'};
          if (strlen($videoId) > 3) {
            echo 'https://youtube.com/watch?v='.$videoId.'<br>';
          }
      }
      if ($totalPage > 50) {
        $count = round($totalPage / 50);
        $pageToken = $json->{'nextPageToken'};
        for ($i=0; $i < $count; $i++) {
          $s = doMagic('https://www.googleapis.com/youtube/v3/search?key=AIzaSyCPN60M1hLMtYTXzrqGbI4qRdaNF3iwKTk&channelId='.$channelId.'&part=snippet,id&order=date&maxResults=50&pageToken='.$pageToken);
          $json = json_decode($s);
          $pageToken = $json->{'nextPageToken'};
          $pageInfo = $json->{'pageInfo'};
          $totalPage = $pageInfo->{'totalResults'};
          $items = $json->{'items'};
          foreach ($items as $item) {
              $id = $item->{'id'};
              $videoId = $id->{'videoId'};
              if (strlen($videoId) > 3) {
            echo 'https://youtube.com/watch?v='.$videoId.'<br>';
              }
          }
        }
      }
}

?>




<form method="post">
   <p>Channel ID: <input type="text" name="channelId" value="UCCjGx55Ep98elhWwYN1D5Gw" /></p>
   <input type="submit" name="submit" value="Submit" />
</form>


ko thấy nó chạy đc bác ơi

bác xem lại hộ e
 
ko thấy nó chạy đc bác ơi

bác xem lại hộ e
Chạy bình thường mà bác! bác đừng đổi dòng này
PHP:
curl_setopt($curl, CURLOPT_REFERER, "http://movies8.io");

cái link đó là link ref đăng kí trong api của youtube thui , đổi nó sai nó ko chạy đâu. bác muốn đổi thì vào google console reg 1 cái key khác ref để link khác

Link online: http://kichthich.tk/youtube.php
 
Last edited:
Chạy bình thường mà bác! bác đừng đổi dòng này
PHP:
curl_setopt($curl, CURLOPT_REFERER, "http://movies8.io");

cái link đó là link ref đăng kí trong api của youtube thui , đổi nó sai nó ko chạy đâu. bác muốn đổi thì vào google console reg 1 cái key khác ref để link khác

Link online: http://kichthich.tk/youtube.php


sao file của mình quẳng lên host nó ko chạy được cơ. cho dù ref đăng kí api của youtube rồi.

key api link này chạy tay thì vẫn lên mà cho vào code kia thì ko chạy được.

https://www.googleapis.com/youtube/...0&key=AIzaSyCHpr0KJjSvSdMB5qfgPcV3aUH9qIFkHs8
 
Share code cho bác nào cần
PHP:
<?php
error_reporting(0);
function doMagic($url)
{
  $curl = curl_init();
  curl_setopt($curl, CURLOPT_URL, $url);
  curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.12011-10-16 20:23:00");
  curl_setopt($curl, CURLOPT_REFERER, "http://movies8.io");
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($curl, CURLOPT_TIMEOUT, 30);
  curl_setopt($curl, CURLOPT_FOLLOWLOCATION,true);

  $html = curl_exec($curl);
  curl_close($curl);

  return $html;
}
if(isset($_POST['submit'])) {
      $channelId = $_POST['channelId'];
      $s = doMagic('https://www.googleapis.com/youtube/v3/search?key=AIzaSyCPN60M1hLMtYTXzrqGbI4qRdaNF3iwKTk&channelId='.$channelId.'&part=snippet,id&order=date&maxResults=50');
      $json = json_decode($s);
      $pageInfo = $json->{'pageInfo'};
      $totalPage = $pageInfo->{'totalResults'};
      $items = $json->{'items'};
      foreach ($items as $item) {
          $id = $item->{'id'};
          $videoId = $id->{'videoId'};
          if (strlen($videoId) > 3) {
            echo 'https://youtube.com/watch?v='.$videoId.'<br>';
          }
      }
      if ($totalPage > 50) {
        $count = round($totalPage / 50);
        $pageToken = $json->{'nextPageToken'};
        for ($i=0; $i < $count; $i++) {
          $s = doMagic('https://www.googleapis.com/youtube/v3/search?key=AIzaSyCPN60M1hLMtYTXzrqGbI4qRdaNF3iwKTk&channelId='.$channelId.'&part=snippet,id&order=date&maxResults=50&pageToken='.$pageToken);
          $json = json_decode($s);
          $pageToken = $json->{'nextPageToken'};
          $pageInfo = $json->{'pageInfo'};
          $totalPage = $pageInfo->{'totalResults'};
          $items = $json->{'items'};
          foreach ($items as $item) {
              $id = $item->{'id'};
              $videoId = $id->{'videoId'};
              if (strlen($videoId) > 3) {
            echo 'https://youtube.com/watch?v='.$videoId.'<br>';
              }
          }
        }
      }
}

?>




<form method="post">
   <p>Channel ID: <input type="text" name="channelId" value="UCCjGx55Ep98elhWwYN1D5Gw" /></p>
   <input type="submit" name="submit" value="Submit" />
</form>

tình hình là cái code này nó ko chạy được nữa bác ạ. bác có cách nào ko thế ?
 
Share code cho bác nào cần
PHP:
<?php
error_reporting(0);
function doMagic($url)
{
  $curl = curl_init();
  curl_setopt($curl, CURLOPT_URL, $url);
  curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.12011-10-16 20:23:00");
  curl_setopt($curl, CURLOPT_REFERER, "http://movies8.io");
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
  curl_setopt($curl, CURLOPT_TIMEOUT, 30);
  curl_setopt($curl, CURLOPT_FOLLOWLOCATION,true);

  $html = curl_exec($curl);
  curl_close($curl);

  return $html;
}
if(isset($_POST['submit'])) {
      $channelId = $_POST['channelId'];
      $s = doMagic('https://www.googleapis.com/youtube/v3/search?key=AIzaSyCPN60M1hLMtYTXzrqGbI4qRdaNF3iwKTk&channelId='.$channelId.'&part=snippet,id&order=date&maxResults=50');
      $json = json_decode($s);
      $pageInfo = $json->{'pageInfo'};
      $totalPage = $pageInfo->{'totalResults'};
      $items = $json->{'items'};
      foreach ($items as $item) {
          $id = $item->{'id'};
          $videoId = $id->{'videoId'};
          if (strlen($videoId) > 3) {
            echo 'https://youtube.com/watch?v='.$videoId.'<br>';
          }
      }
      if ($totalPage > 50) {
        $count = round($totalPage / 50);
        $pageToken = $json->{'nextPageToken'};
        for ($i=0; $i < $count; $i++) {
          $s = doMagic('https://www.googleapis.com/youtube/v3/search?key=AIzaSyCPN60M1hLMtYTXzrqGbI4qRdaNF3iwKTk&channelId='.$channelId.'&part=snippet,id&order=date&maxResults=50&pageToken='.$pageToken);
          $json = json_decode($s);
          $pageToken = $json->{'nextPageToken'};
          $pageInfo = $json->{'pageInfo'};
          $totalPage = $pageInfo->{'totalResults'};
          $items = $json->{'items'};
          foreach ($items as $item) {
              $id = $item->{'id'};
              $videoId = $id->{'videoId'};
              if (strlen($videoId) > 3) {
            echo 'https://youtube.com/watch?v='.$videoId.'<br>';
              }
          }
        }
      }
}

?>




<form method="post">
   <p>Channel ID: <input type="text" name="channelId" value="UCCjGx55Ep98elhWwYN1D5Gw" /></p>
   <input type="submit" name="submit" value="Submit" />
</form>
thank bác trước để em test đã
 

Announcements

Today's birthdays

Forum statistics

Threads
418,944
Messages
7,078,602
Members
171,015
Latest member
shashijha
Back
Top Bottom