Page 4 of 13 FirstFirst ... 23456 ... LastLast
Results 16 to 20 of 63

Thread: Youtube den canli yayinlardan m3u8 alma işlemi.

  1. Go to Thank YouDownload #16
    Go to Thank You
    Üye bahri's Avatar

    Info

    Go to Top of Post

    Oluyor istedigin kalitede şip diye açar


  2. The Following 3 Users Say Thank You to bahri For This Useful Post:

  3. Go to Thank YouDownload #17
    Go to Thank You
    Üye bahri's Avatar

    Info

    Go to Top of Post

    PHP Code:
    1. <?php
    2. function get_data($html) {
    3. $ch curl_init();
    4. $timeout 5;
    5. curl_setopt($chCURLOPT_URL$html);
    6. curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
    7. curl_setopt($chCURLOPT_USERAGENT"facebookexternalhit/1.1 (+http://www.facebook.com/externalhit_uatext.php)");
    8. curl_setopt($chCURLOPT_REFERER"http://facebook.com");
    9. curl_setopt($chCURLOPT_RETURNTRANSFER1);
    10. curl_setopt($chCURLOPT_CONNECTTIMEOUT$timeout);
    11. $data curl_exec($ch);
    12. curl_close($ch);
    13. return $data;
    14. }
    15. $canal $_GET['v'];
    16. $html file_get_contents('https://www.youtube.com/watch?v='.$canal);
    17. preg_match('/"hlsManifestUrl.":."(.*?)"/'$html$matches);
    18. $url1 substr($matches[1], 0, -1);
    19. $url1 str_replace('\/' "/"$url1);
    20. /* 96=1920x1080, 95=1280x720, 94=854x480, 93=640x360 */
    21. $man get_data($url1);
    22. preg_match_all('/(https:\/.*\/96\/.*index.m3u8)/U',$man,$matchesPREG_PATTERN_ORDER);
    23. $url2=$matches[1][0];
    24. header ("Location: $url2");
    25. exit ();
    26. ?>


  4. The Following 2 Users Say Thank You to bahri For This Useful Post:

  5. Go to Thank YouDownload #18
    Go to Thank You
    Üye bahri's Avatar

    Info

    Go to Top of Post

    Burdaki 93 94 95 96 ile değiştireceksin.

    /* 96=1920x1080, 95=1280x720, 94=854x480, 93=640x360 */

    PHP Code:
    1. preg_match_all('/(https:\/.*\/96\/.*index.m3u8)/U',$man,$matchesPREG_PATTERN_ORDER); 


  6. The Following 3 Users Say Thank You to bahri For This Useful Post:

  7. Go to Thank YouDownload #19
    Go to Thank You
    Üye bahri's Avatar

    Info

    Go to Top of Post

    Bence sizin webserverden kaynaklanıyor. Bedava olanlardan orda bazı seyler bence çalışmiyor.


  8. The Following 4 Users Say Thank You to bahri For This Useful Post:

  9. Go to Thank YouDownload #20
    Go to Thank You
    Yeni Üye doganoglu66's Avatar

    Info

    Go to Top of Post

    Arkadaşlar [Sadece kayıtlı ve aktif kullanıcılar bağlantıları görebilir.] Kayıt Olmak İçin Tıklayınız.. linkini iptv de nasıl izleyebilirim? bana m3u8 linki lazım,yardımcı olabilecek arkadaş var mı ?


  10. The Following 4 Users Say Thank You to doganoglu66 For This Useful Post:

Page 4 of 13 FirstFirst ... 23456 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 7 users browsing this thread. (0 members and 7 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •