-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCL_Get_Stream_JSON.php
More file actions
54 lines (44 loc) Β· 2.75 KB
/
Copy pathCL_Get_Stream_JSON.php
File metadata and controls
54 lines (44 loc) Β· 2.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?php
/*
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| For More Modules Or Updates Stay Connected to Kodi dot AL |
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββ¬ββββββββββββββββββββββββββββββββββββββββββββββββββ
β Product β Youtube MP4 Stream Extractor β
β Version β v2.2.1-DEV Multi β
β Provider β https://www.youtube.com β
β Support β M3U8/VLC/KODI/SMART TV/XTream Codes/Web Players β
β Licence β MIT β
β Author β Olsion Bakiaj β
β Email β TRC4@USA.COM β
β Author β Endrit Pano β
β Email β INFO@ALBDROID.AL β
β Website β https://kodi.al β
β Facebook β /albdroid.official/ β
β Github β github.com/SxtBox/ β
β Created β 21 December 2020 β
β Modified β 00:0000:0000 β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
*/
// NOTE: THIS API CONTAIN THIRD PARTY FUNCTIONS
// HOSTED APIS https://paidcodes.albdroid.al/Youtube_APIS/Downloader/
// JSON API https://paidcodes.albdroid.al/Youtube_APIS/Downloader/get_stream.php
// RULES AL: Ky API Eshte Vetem Per Demostrim, Nese Ju e Keqperdorni Do Te Humbisni Komunikimin Me Serverat Tane
// RULES EN: This API is For Demonstration Only, If You Misuse It You Will Lose Communication With Our Servers
error_reporting(0);
set_time_limit(0);
date_default_timezone_set("Europe/Tirane");
/*
Generator @ Kodi dot AL Dev Tools
Code For PHP 5/7
*/
$API_HOST = "https://paidcodes.albdroid.al/Youtube_APIS/Downloader/";
$PHP_FILE = "get_stream.php?url=";
$YT_URL = "https://www.youtube.com/watch?v=F_fzZduMd7g";
$API_CALL = $API_HOST. $PHP_FILE . $YT_URL;
$DATA = file_get_contents($API_CALL);
$GET_URL = file_get_contents($API_CALL.$_SERVER['QUERY_STRING']);
header('Access-Control-Allow-Origin: *');
header('Content-type: application/json');
echo $DATA;
?>