Page 1 of 6 123 ... LastLast
Results 1 to 5 of 27

Thread: Atv m3u8

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

    Info

    Go to Top of Post

    Default Atv m3u8

    Selamün aleyküm,

    Arkadaslar atv nin m3u8 token li linkini kendi sayfasindan nasıl alabiliriz.



    Similar Threads:

    • The Following 91 Users Say Thank You to bahri For This Useful Post:

    • Go to Thank YouDownload #2
      Go to Thank You
      Yönetici yilmaz's Avatar

      Info

      Go to Top of Post

      A.Selam
      Ugraştıgım kod
      PHP Code:
      1. <?php
      2. error_reporting(E_ALL);
      3. ini_set("display_errors"1);
      4. function fakeip() {
      5.    // $ipaddress = '172.217.22.67';
      6.    $ipaddress getenv('REMOTE_ADDR'); 
      7.     return $ipaddress;
      8.     } 
      9. function baglan($url){ 
      10. $ch=curl_init(); 
      11. curl_setopt($ch,CURLOPT_URL,$url); 
      12. curl_setopt($ch,CURLOPT_RETURNTRANSFER,true); 
      13. curl_setopt($ch,CURLOPT_REFERER,"https://www.atv.com.tr/webtv/canli-yayin"); 
      14. curl_setopt($ch,CURLOPT_HTTPHEADER, array("REMOTE_ADDR: ".fakeip(),"X-Client-IP: ".fakeip(),"Client-IP: ".fakeip(),"HTTP_X_FORWARDED_FOR: ".fakeip(),"X-Forwarded-For: ".fakeip()));  
      15. curl_setopt$chCURLOPT_USERAGENT'Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0'); 
      16. curl_setopt($ch,CURLOPT_TIMEOUT,60);
      17. $cikti=curl_exec($ch); 
      18. curl_close($ch); 
      19. //$cikti = preg_replace("/\s+/", " ", $cikti);
      20. $cikti trim($cikti);
      21. return str_replace(array("> <"),"><",$cikti); }
      22. ######################
      23. ###############
      24. $baglan_atv baglan("https://securevideotoken.tmgrup.com.tr/webtv/secure?371930&url=https://trkvz-live.ercdn.net/atvhd/atvhd.m3u8");
      25. echo $baglan_atv."\n";
      26. preg_match('@st=(.+?)e=(.+?)"@si',$baglan_atv,$m3u);
      27. print_r($m3u);
      28. ?>
      Sonuç:

      Code:
      1. {"Success":true,"Url":"https://trkvz-live.ercdn.net/atvhd/atvhd.m3u8?st=nVTm0qJ4vwGapntEGX1VVw&e=1581769712","AlternateUrl":"","Time":41600,"IP":"xx.xx.xx.xx"}
      2. Array
      3. (
      4. [0] => st=nVTm0qJ4vwGapntEGX1VVw&e=1581769712"
      5. [1] => nVTm0qJ4vwGapntEGX1VVw&
      6. [2] => 1581769712
      7. )
      Her şey şura da gizli çözemedim
      Code:
      1. nVTm0qJ4vwGapntEGX1VVw&
      Olmadı

      Kandi sayfasıda <dib id="live"></div> id element uzeri çalışıyor bir turlu bulamadım.


    • The Following 19 Users Say Thank You to yilmaz For This Useful Post:

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

      Info

      Go to Top of Post

      Usta bende localhost çalışıyor fakat server e yukleyince çalışmıyor 403 veriyor. Fakat server den de aşagidaki ornek gibi deniyorum degişik resolutsi için m3u8 veriyor. 403 olsa onuda vermez bence.

      PHP Code:
      1. <?php
      2.     if (getenv('HTTP_X_FORWARDED_FOR')) { $pipaddress getenv('HTTP_X_FORWARDED_FOR');
      3.  $ipaddress getenv('REMOTE_ADDR'); 
      4.     echo "Your Proxy IP address is : ".$pipaddress"(via $ipaddress)" ; } 
      5.     else { $ipaddress getenv('REMOTE_ADDR'); echo "Your IP address is : $ipaddress\r\n"; }
      6.     
      7. function getPage($url$referer$ipaddress){ 
      8.     $timeout=30
      9.     $curl curl_init(); 
      10.     if(strstr($referer,"://")){
      11.         curl_setopt ($curlCURLOPT_REFERER$referer); 
      12.     }
      13.     
      14.     curl_setopt ($curlCURLOPT_URL$url); 
      15.     curl_setopt ($curlCURLOPT_TIMEOUT$timeout); 
      16.     curl_setopt ($curlCURLOPT_USERAGENTsprintf("Mozilla/%d.0",rand(4,5))); 
      17.     curl_setopt ($curlCURLOPT_HEADER$ipaddress); 
      18.     curl_setopt ($curlCURLOPT_RETURNTRANSFER1); 
      19.     curl_setopt ($curlCURLOPT_SSL_VERIFYPEER1);
      20.     $html curl_exec ($curl); 
      21.     curl_close ($curl); 
      22.     return $html;
      23. }
      24. $html getPage("https://securevideotoken.tmgrup.com.tr/webtv/secure?url=http://trkvz-live.ercdn.net/atvhd/atvhd.m3u8""https://www.atv.com.tr/webtv/canli-yayin"1);
      25. preg_match_all(
      26.     '#Url"\:"(.*?)"#si',
      27.     $html,
      28.     $posts,
      29.     PREG_SET_ORDER 
      30. );
      31. foreach ($posts as $post) {
      32. $link $post[1];
      33. echo $link
      34. echo getPage("$link""$ipaddress"1);
      35. }
      36.   ?>
      mesela serverde oyle bir header çikiyor.

      Code:
      1. Your IP address is : xx.xx.xx. http://trkvz-live.ercdn.net/atvhd/atvhd.m3u8?st=IaZdxV1z1a8ItrmPE82MGg&e=1581775020HTTP/1.1 200 OK Date: Sat, 15 Feb 2020 01:23:40 GMT Content-Type: application/vnd.apple.mpegurl Transfer-Encoding: chunked Connection: keep-alive ETag: "5e474812-190" Access-Control-Allow-Origin: * X0: HIT Server: esrv Cache-Control: max-age=0, no-cache, no-store X1: EXPIRED #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1200000,NAME=720p,RESOLUTION=1536x864 atvhd_720p.m3u8?st=IaZdxV1z1a8ItrmPE82MGg&e=1581775020 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=800000,NAME=480p,RESOLUTION=1024x576 atvhd_480p.m3u8?st=IaZdxV1z1a8ItrmPE82MGg&e=1581775020 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=400000,NAME=360p,RESOLUTION=768x432 atvhd_360p.m3u8?st=IaZdxV1z1a8ItrmPE82MGg&e=1581775020 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=200000,NAME=240p,RESOLUTION=512x288 atvhd_240p.m3u8?st=IaZdxV1z1a8ItrmPE82MGg&e=1581775020
      header de bu sekil.


    • The Following 9 Users Say Thank You to bahri For This Useful Post:

    • Go to Thank YouDownload #4
      Go to Thank You
      Üye bahri's Avatar

      Info

      Go to Top of Post

      Usta pc de localhost çalişiyor. Server de olmuyor burdan bakınca ip ile alakali fakat orda takılıyorum.

      Ben de şu şekil deniyordum.

      PHP Code:
      1. <?php
      2.     if (getenv('HTTP_X_FORWARDED_FOR')) { $pipaddress getenv('HTTP_X_FORWARDED_FOR');
      3.  $ipaddress getenv('REMOTE_ADDR'); 
      4.     echo "Your Proxy IP address is : ".$pipaddress"(via $ipaddress)" ; } 
      5.     else { $ipaddress getenv('REMOTE_ADDR'); echo "Your IP address is : $ipaddress\r\n"; }
      6.     
      7. function getPage($url$referer$ipaddress){ 
      8.     $timeout=30
      9.     $curl curl_init(); 
      10.     if(strstr($referer,"://")){
      11.         curl_setopt ($curlCURLOPT_REFERER$referer); 
      12.     }
      13.     
      14.     curl_setopt ($curlCURLOPT_URL$url); 
      15.     curl_setopt ($curlCURLOPT_TIMEOUT$timeout); 
      16.     curl_setopt ($curlCURLOPT_USERAGENTsprintf("Mozilla/%d.0",rand(4,5))); 
      17.     curl_setopt ($curlCURLOPT_HEADER$ipaddress); 
      18.     curl_setopt ($curlCURLOPT_RETURNTRANSFER1); 
      19.     curl_setopt ($curlCURLOPT_SSL_VERIFYPEER1);
      20.     $html curl_exec ($curl); 
      21.     curl_close ($curl); 
      22.     return $html;
      23. }
      24. $html getPage("https://securevideotoken.tmgrup.com.tr/webtv/secure?url=http://trkvz-live.ercdn.net/atvhd/atvhd.m3u8""https://www.atv.com.tr/webtv/canli-yayin"1);
      25. preg_match_all(
      26.     '#Url"\:"(.*?)"#si',
      27.     $html,
      28.     $posts,
      29.     PREG_SET_ORDER 
      30. );
      31. foreach ($posts as $post) {
      32. $link $post[1];
      33. echo $link
      34. echo getPage("$link""$ipaddress"1);
      35. }
      36.   ?>
      lokalhost da $link den gelen ile sorunsuz oluyor. Serverde getPage den ip mi yazıyor header de ok.

      PHP Code:
      1. Your IP address is xx xxx xxx  http://trkvz-live.ercdn.net/atvhd/atvhd.m3u8?st=IaZdxV1z1a8ItrmPE82MGg&e=1581775020HTTP/1.1 200 OK Date: Sat, 15 Feb 2020 01:23:40 GMT Content-Type: application/vnd.apple.mpegurl Transfer-Encoding: chunked Connection: keep-alive ETag: "5e474812-190" Access-Control-Allow-Origin: * X0: HIT Server: esrv Cache-Control: max-age=0, no-cache, no-store X1: EXPIRED #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1200000,NAME=720p,RESOLUTION=1536x864 atvhd_720p.m3u8?st=IaZdxV1z1a8ItrmPE82MGg&e=1581775020 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=800000,NAME=480p,RESOLUTION=1024x576 atvhd_480p.m3u8?st=IaZdxV1z1a8ItrmPE82MGg&e=1581775020 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=400000,NAME=360p,RESOLUTION=768x432 atvhd_360p.m3u8?st=IaZdxV1z1a8ItrmPE82MGg&e=1581775020 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=200000,NAME=240p,RESOLUTION=512x288 atvhd_240p.m3u8?st=IaZdxV1z1a8ItrmPE82MGg&e=1581775020 
      server de getPage yı kullanınca bu çıkıyor.


    • The Following 7 Users Say Thank You to bahri For This Useful Post:

    • Go to Thank YouDownload #5
      Go to Thank You
      Üye meteakyol's Avatar

      Info

      Go to Top of Post

      Merhaba
      Calistimi PHP serverde ATV nin linki?
      Selam
      Mete


    • The Following 10 Users Say Thank You to meteakyol For This Useful Post:

    Page 1 of 6 123 ... LastLast

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 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
    •