Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /* __________________________________________________ | Obfuscated by YAK P..
Decoded Output download
<?php
/* __________________________________________________
| Obfuscated by YAK Pro - Php Obfuscator 2.0.14 |
| on 2024-05-15 09:25:47 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
namespace GDPlayer\Hosting;
class youtube extends \GDPlayer\CoreExtractor
{
private $youtubeBaseUrl = "https://www.youtube.com/";
private $thirdPartyAPIUrl = "https://yt1s.com/";
private $headers = [];
public function __construct($id, $dl, $hostname)
{
goto tmrQo817gDfFphwC;
qDEYF0cTimEyDgC6:
$this->getAPISources();
goto gQ6xPVGDNdMvFpf5;
xnrN9St5hR2Hzj78:
$this->url = $this->youtubeBaseUrl . "watch?v=" . $id;
goto lGpaiC6CosP9iIuI;
gQ6xPVGDNdMvFpf5:
if (!empty($this->sources)) {
goto C3MerneByscek_uh;
}
goto mVXfrU0Lheui4Lvy;
iZTTdqlL1Jy06VzV:
$this->baseURL = $this->youtubeBaseUrl;
goto xnrN9St5hR2Hzj78;
lGpaiC6CosP9iIuI:
$this->referer = "https://youtube.googleapis.com/";
goto qDEYF0cTimEyDgC6;
tmrQo817gDfFphwC:
session_write_close();
goto kSAX6HIqxwFCJYfI;
kSAX6HIqxwFCJYfI:
parent::__construct($id, $dl, $hostname);
goto iZTTdqlL1Jy06VzV;
s8Gd7Eg7JPRPGXR7:
$this->getThirdPartySources();
goto NmAqNV2RpCBBzzFy;
mVXfrU0Lheui4Lvy:
session_write_close();
goto s8Gd7Eg7JPRPGXR7;
NmAqNV2RpCBBzzFy:
C3MerneByscek_uh:
goto OG53pydXxlukUV0F;
OG53pydXxlukUV0F:
}
private function createImage()
{
session_write_close();
$this->image = "https://i.ytimg.com/vi/" . $this->id . "/maxresdefault.jpg";
}
private function thirdPartySourcesParser(array $sources = [])
{
goto wkwYbdSBKlMPNjry;
gaj1th_2ldzWX3vr:
if (empty($sources)) {
goto V9K0uEPFOZLicogp;
}
goto v14Yamk2ehWHvbYd;
v14Yamk2ehWHvbYd:
session_write_close();
goto sK8T6zQVcB_Se94k;
sK8T6zQVcB_Se94k:
foreach ($sources as $dt) {
goto JVKhcYn3B1o_oYMR;
FKYFfdDrPJzEFbsI:
tBauKpwsSA1v5Grn:
goto q0uMkFsqxsf3AvY0;
JVKhcYn3B1o_oYMR:
session_write_close();
goto jVhu5X8Vx1VwKNiQ;
jVhu5X8Vx1VwKNiQ:
$this->sources[] = ["file" => $dt["dlink"], "label" => preg_replace("/[^0-9.]+/", '', $dt["fquality"]) . "p", "type" => $this->videoType];
goto FKYFfdDrPJzEFbsI;
q0uMkFsqxsf3AvY0:
}
goto CW5rW5wRF5FZFk9w;
wkwYbdSBKlMPNjry:
session_write_close();
goto gaj1th_2ldzWX3vr;
CW5rW5wRF5FZFk9w:
mAgyn7eKIlo_rW3j:
goto pi5dF9JUfquuJiWg;
pi5dF9JUfquuJiWg:
V9K0uEPFOZLicogp:
goto Kjo05TN67vYNOVFf;
Kjo05TN67vYNOVFf:
}
private function thirdPartySourcesConvert(array $keys = [], string $vid = '')
{
goto kfHdTtpJLa5Eer_5;
e2Pfmh9Xtms1r3vQ:
session_write_close();
goto Yf5ovV7DyRd2AyHa;
kfHdTtpJLa5Eer_5:
session_write_close();
goto CC3J6PRADzVleOBo;
Ud_ntd6KCx1fsZa1:
curl_multi_close($mh);
goto jH_DFMy1QCUlkaqb;
kHtWKjkfokXmztet:
$active = null;
goto mnKufQhKqheBHeOz;
EgzBlMP1kv9xzBzE:
$ch = [];
goto uLFR0ILcmPm40eVv;
OONZgAinNL4IleZF:
VUXvIqAzjE0ev0mU:
goto c8ZmaEq1vNp_REA1;
c8ZmaEq1vNp_REA1:
$arr = [];
goto Kvbo6VLDRHdru3S5;
uLFR0ILcmPm40eVv:
foreach ($keys as $i => $key) {
goto vSXlbauDuC8AM65T;
tdZGKr1sH2gNiRfi:
curl_multi_add_handle($mh, $ch[$i]);
goto pUsZPQeBKU9MwDNV;
vSXlbauDuC8AM65T:
session_write_close();
goto S4aOt6hVeAF2Yn1i;
nvyRN5mMhXTF_2_y:
rAzN2Ycj6mxqsnDQ:
goto XTfopTBMFtQj9Hi9;
RXs_g6iJBBSX7z4v:
curl_setopt($this->ch, CURLOPT_PROXYTYPE, $this->proxy["type"]);
goto VUkE1Nf0vW41Vwrk;
pUsZPQeBKU9MwDNV:
if (!$this->proxy) {
goto vxwZARpdf9ANZIIB;
}
goto nMWJuGEZKOtNkb27;
VUkE1Nf0vW41Vwrk:
curl_setopt($this->ch, CURLOPT_PROXYUSERPWD, $this->proxy["usrpwd"]);
goto i2fywjqzsMWBzyxq;
nMWJuGEZKOtNkb27:
session_write_close();
goto PVqWKnKDAd4kBJ30;
i2fywjqzsMWBzyxq:
vxwZARpdf9ANZIIB:
goto UG98laSkrbpljvG9;
PVqWKnKDAd4kBJ30:
curl_setopt($this->ch, CURLOPT_PROXY, $this->proxy["proxy"]);
goto RXs_g6iJBBSX7z4v;
S4aOt6hVeAF2Yn1i:
$ch[$i] = $this->helper->getCurlDefaultConfig(curl_init($this->thirdPartyAPIUrl . "api/ajaxConvert/convert"));
goto MSGxxltTcTsCZlTo;
UG98laSkrbpljvG9:
curl_setopt($ch[$i], CURLOPT_HTTPHEADER, $this->headers);
goto nvyRN5mMhXTF_2_y;
sJcaMekS44P83OJ5:
curl_setopt($ch[$i], CURLOPT_POSTFIELDS, http_build_query(array("vid" => $vid, "k" => $key)));
goto tdZGKr1sH2gNiRfi;
MSGxxltTcTsCZlTo:
curl_setopt($ch[$i], CURLOPT_CUSTOMREQUEST, "POST");
goto sJcaMekS44P83OJ5;
XTfopTBMFtQj9Hi9:
}
goto q0EuwM8V7JGOxRzP;
zL4ojoFg2TVVRpon:
goto CltR5UyGbxkmHSEl;
goto OONZgAinNL4IleZF;
Ckkn6od2325qcLqP:
iRVYoOYXnOs7Wbt9:
goto u1_CKDJn2XmAaXs3;
aQEliNZ8zhGupADf:
rDwo6KDfAwBmzNcT:
goto zL4ojoFg2TVVRpon;
CC3J6PRADzVleOBo:
$mh = curl_multi_init();
goto EgzBlMP1kv9xzBzE;
i8QDjur0oz8kiZUy:
if ($mrc === CURLM_CALL_MULTI_PERFORM) {
goto uXO3EK0DZ4y4IpXX;
}
goto lTcEtB1hyNnUqrr6;
SFfms8UrPf7zF0No:
if (!($active && $mrc === CURLM_OK)) {
goto VUXvIqAzjE0ev0mU;
}
goto Xup6n5j_E8QbgDER;
BpFRpOHktlXw_IJF:
CltR5UyGbxkmHSEl:
goto SFfms8UrPf7zF0No;
Xup6n5j_E8QbgDER:
session_write_close();
goto P3Z2C7cgDjllRJUu;
vaRqDW0O_527yZt7:
session_write_close();
goto mrfH1JtykHgZtcg6;
jH_DFMy1QCUlkaqb:
$this->thirdPartySourcesParser(array_filter($arr, function ($dt) {
session_write_close();
return is_array($dt) && !empty($dt["dlink"]) && !empty($dt["fquality"]) && is_numeric(preg_replace("/[^0-9.]+/", '', $dt["fquality"])); }));
goto rZEvXNnNDttPWu2C;
P3Z2C7cgDjllRJUu:
if (!(curl_multi_select($mh) === -1)) {
goto iRVYoOYXnOs7Wbt9;
}
goto vaRqDW0O_527yZt7;
q0EuwM8V7JGOxRzP:
uRJkNg6DcXHjX5fN:
goto kHtWKjkfokXmztet;
a594QU29K2vITcWY:
if ($mrc === CURLM_CALL_MULTI_PERFORM) {
goto EqMlRO1fnjLA60KN;
}
goto aQEliNZ8zhGupADf;
Ep1jkz9bE5vWkBiZ:
bHBglArm0hZcK9i0:
goto Ud_ntd6KCx1fsZa1;
mrfH1JtykHgZtcg6:
usleep(10);
goto Ckkn6od2325qcLqP;
lTcEtB1hyNnUqrr6:
hFsP7BMLwQQiqMvA:
goto BpFRpOHktlXw_IJF;
nT2lYYHJsVtpXwE6:
$mrc = curl_multi_exec($mh, $active);
goto a594QU29K2vITcWY;
mnKufQhKqheBHeOz:
uXO3EK0DZ4y4IpXX:
goto e2Pfmh9Xtms1r3vQ;
Kvbo6VLDRHdru3S5:
foreach ($keys as $i => $key) {
goto bsltEDhxgW2fZsAP;
XkMgYPAgYyJR_2J_:
MhspJpWPcQtbqNH8:
goto tAQ0Qj5aXSAEBKQv;
GiGGEprWK4uQMCNJ:
session_write_close();
goto ebtrFj8mOP2svNAr;
X13GBt5gxW9cBha9:
$response = curl_multi_getcontent($ch[$i]);
goto s9B3YeDYyoiTfvcX;
aC_hyFAakFfVGS0K:
qwhscC2CHDopT_HH:
goto f4SEoR0lZX7p6hS9;
ebtrFj8mOP2svNAr:
$arr[] = @json_decode($response, true);
goto XkMgYPAgYyJR_2J_;
tAQ0Qj5aXSAEBKQv:
curl_multi_remove_handle($mh, $ch[$i]);
goto aC_hyFAakFfVGS0K;
s9B3YeDYyoiTfvcX:
$status = curl_getinfo($ch[$i], CURLINFO_HTTP_CODE);
goto vFqzfLr9nP3eem6K;
bsltEDhxgW2fZsAP:
session_write_close();
goto X13GBt5gxW9cBha9;
vFqzfLr9nP3eem6K:
if (!($status >= 200 && $status < 400)) {
goto MhspJpWPcQtbqNH8;
}
goto GiGGEprWK4uQMCNJ;
f4SEoR0lZX7p6hS9:
}
goto Ep1jkz9bE5vWkBiZ;
DNB0CnFsBye4fEU1:
session_write_close();
goto nT2lYYHJsVtpXwE6;
u1_CKDJn2XmAaXs3:
EqMlRO1fnjLA60KN:
goto DNB0CnFsBye4fEU1;
Yf5ovV7DyRd2AyHa:
$mrc = curl_multi_exec($mh, $active);
goto i8QDjur0oz8kiZUy;
rZEvXNnNDttPWu2C:
}
private function thirdPartySources(string $response = '')
{
goto nbm_WHm2iHfT1Zp7;
A1NkdeQ43ICRSENq:
$data = @json_decode($response, true);
goto uq5IbdNQbY4MB80H;
a1qcQ4pAtteR6IH0:
IJ_nY1Zp3NY4fPNJ:
goto TlSQNer2coFh_fbp;
nbm_WHm2iHfT1Zp7:
session_write_close();
goto A1NkdeQ43ICRSENq;
zCqJ7l9QsyC0LEdy:
$keys = array_column(array_values(array_filter($data["links"]["mp4"], function ($dt) {
goto Ai_ALzIq6UBtZ_IB;
Ai_ALzIq6UBtZ_IB:
session_write_close();
goto husZzwBxtVopmR1m;
kfBIY1iDEqAbDvVx:
return $q === "360" || $q === "480" || $q === "720" || $q === "1080";
goto m6ZPISt_2N3RdO9B;
husZzwBxtVopmR1m:
$q = trim($dt["q"], "p");
goto kfBIY1iDEqAbDvVx;
m6ZPISt_2N3RdO9B: })), "k");
goto yrpHdXOgAYRn9yQK;
lsJ5DA1jMXcjneQF:
mmgRvhFtc9fsFYPd:
goto a1qcQ4pAtteR6IH0;
vB1hbbbGDz2s2clQ:
$this->createImage();
goto n7_gvW9lc6KscS5D;
mvf5kWC6mVLoSNFa:
$this->title = $data["title"];
goto Mo62EXhOCDJ93b8q;
DRgx5ZFbEefix2rp:
session_write_close();
goto mvf5kWC6mVLoSNFa;
wp2rhSyfCI6OuF9H:
$this->referer = $this->thirdPartyAPIUrl . "en612";
goto vB1hbbbGDz2s2clQ;
dAckg2gg4FiIeMtH:
if (!(!empty($data["vid"]) && !empty($data["links"]["mp4"]))) {
goto mmgRvhFtc9fsFYPd;
}
goto zCqJ7l9QsyC0LEdy;
n7_gvW9lc6KscS5D:
if (empty($data["title"])) {
goto EjuS7UN5oAei1Mwq;
}
goto DRgx5ZFbEefix2rp;
uq5IbdNQbY4MB80H:
if (!(isset($data["status"]) && $data["status"] === "ok")) {
goto IJ_nY1Zp3NY4fPNJ;
}
goto ZM32HZF3KC24AO7h;
A62zG6CBU3w4Dw4f:
$this->status = "ok";
goto wp2rhSyfCI6OuF9H;
yrpHdXOgAYRn9yQK:
$this->thirdPartySourcesConvert($keys, $data["vid"]);
goto lsJ5DA1jMXcjneQF;
ZM32HZF3KC24AO7h:
session_write_close();
goto A62zG6CBU3w4Dw4f;
Mo62EXhOCDJ93b8q:
EjuS7UN5oAei1Mwq:
goto dAckg2gg4FiIeMtH;
TlSQNer2coFh_fbp:
}
private function getThirdPartySources()
{
goto QEA_Or3mYIEYukKJ;
DBt_05P9ft61V06I:
$status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE);
goto naSKxGJgIp6HqPSj;
ppwqr80pAmT3InKl:
goto kKBha9mIdOK_jpzi;
goto HFMnCMR3zYcgbH_G;
uh40ObFy2H52oCeu:
curl_setopt($this->ch, CURLOPT_REFERER, $this->thirdPartyAPIUrl . "en439");
goto KtaaECElzkv1wevx;
HFMnCMR3zYcgbH_G:
DaJytFE0gU0lAuHe:
goto r7BvU2cFdJfirSXn;
IvJaGGIBnied_O3D:
$this->retryProxy += 1;
goto AavUzRgZQh1ybW4E;
zIYARqoD0OWzpjnD:
if ($status >= 200 && $status < 400) {
goto JH5MKMySKZkBk38u;
}
goto j_6tRY8U1KQPp5u1;
j_6tRY8U1KQPp5u1:
if ($status !== 404 && $this->retryProxy < 3 && in_array($this->host, $this->core->getDirectHosts())) {
goto DaJytFE0gU0lAuHe;
}
goto z_riebkBySXcpcah;
np0MvWVTXItxFK5I:
$this->modifyCurlConfig($this->thirdPartyAPIUrl . "api/ajaxSearch/index", $this->headers, "POST");
goto b99m7RoZRImcCkaM;
OfwNAA1CV0BV3CSX:
goto kKBha9mIdOK_jpzi;
goto zbP_ZqFuN42a6tk0;
zbP_ZqFuN42a6tk0:
JH5MKMySKZkBk38u:
goto vwc3jvyM_y73_nFr;
AavUzRgZQh1ybW4E:
$this->getThirdPartySources();
goto vgoTWI4UVtRUvv8e;
z_riebkBySXcpcah:
session_write_close();
goto SNpJyou2ApYKRzl1;
b99m7RoZRImcCkaM:
curl_setopt($this->ch, CURLOPT_POSTFIELDS, http_build_query(array("q" => $this->youtubeBaseUrl . "watch?v=" . $this->id, "vt" => "home")));
goto uh40ObFy2H52oCeu;
QEA_Or3mYIEYukKJ:
session_write_close();
goto A22rjRwo4B1V3YDx;
ozus0i4j6ybjRA15:
$this->thirdPartySources($response);
goto ppwqr80pAmT3InKl;
naSKxGJgIp6HqPSj:
$err = curl_error($this->ch);
goto zIYARqoD0OWzpjnD;
vwc3jvyM_y73_nFr:
session_write_close();
goto ozus0i4j6ybjRA15;
r7BvU2cFdJfirSXn:
session_write_close();
goto sYDkCt5t6L3W74kq;
vgoTWI4UVtRUvv8e:
kKBha9mIdOK_jpzi:
goto GmANCPG119fCqatM;
sYDkCt5t6L3W74kq:
$this->usingProxy = true;
goto IvJaGGIBnied_O3D;
KtaaECElzkv1wevx:
$response = curl_exec($this->ch);
goto DBt_05P9ft61V06I;
SNpJyou2ApYKRzl1:
createErrorLog([__FILE__, __FUNCTION__, $this->id, $status, $err]);
goto OfwNAA1CV0BV3CSX;
A22rjRwo4B1V3YDx:
$this->headers = array("Content-Type: application/x-www-form-urlencoded; charset=UTF-8", "X-Requested-With: XMLHttpRequest");
goto np0MvWVTXItxFK5I;
GmANCPG119fCqatM:
}
private function parseAPISources(string $response = '')
{
goto AdPWgsJYURWo_3Qr;
yBVDDJPAtvj2Ix3C:
$this->status = "ok";
goto UsvBxweiF2wIhAaE;
GE6WrouHhPC3Yjm6:
EzL7yPfkCdG0CcZk:
goto QEteZrUo_kLoH8X6;
hwajG0RpbfVEhRFT:
session_write_close();
goto M5AnAX52Xj_NhRKa;
NFhL2d1aoIPwTvHB:
$this->createImage();
goto UO1pgksIVQ062Sov;
jCJVN7421T2jqDEk:
V5FFa0y2EIbDg79f:
goto isB5nrK4qHnOcxB8;
sU6pxSBELdoK_IzC:
session_write_close();
goto H_taTnKE71Munki0;
DiJLmlx49Q3CTOjG:
if (!empty($data["streamingData"]["formats"])) {
goto wt0WlCbcpa0WXtjd;
}
goto EZkc3dInuF4SWNpn;
SLCwMauBQwdvPMAl:
$this->sources[] = ["file" => $data["streamingData"]["hlsManifestUrl"], "type" => $this->hlsType, "label" => "Original"];
goto qPOWlaQNtbOvu4OP;
AdPWgsJYURWo_3Qr:
session_write_close();
goto ULwEtRShQrsWVG2r;
UO1pgksIVQ062Sov:
$this->status = "ok";
goto bhBcIN3o_z176LVV;
TObEWv39i7IvduNw:
session_write_close();
goto d1jJ3_sm2298tRWZ;
xDMj5s_DGXbdfjBX:
createErrorLog([__FILE__, $this->url, "streamingData formats not found or empty", $response]);
goto xHNFHWXS0_Z_d1tc;
N30QkdHm9S6chuJm:
wt0WlCbcpa0WXtjd:
goto TObEWv39i7IvduNw;
Nuba6ZHHYSwnfViW:
LG1dCttmsPASxumL:
goto Ukbgg9JKPmzUqNX1;
zKyEtYUiMeLQh1XK:
session_write_close();
goto NFhL2d1aoIPwTvHB;
ZM2fHMyW_Cbap20K:
if (empty($data["videoDetails"]["title"])) {
goto V5FFa0y2EIbDg79f;
}
goto hwajG0RpbfVEhRFT;
ydKsa9eZFjwKLfrq:
IndI0xpyxDyQ2p2T:
goto Nuba6ZHHYSwnfViW;
wtxs4ln865X8q1Bj:
XSCR1CylI3g21mr3:
goto zKyEtYUiMeLQh1XK;
qPOWlaQNtbOvu4OP:
goto LG1dCttmsPASxumL;
goto N30QkdHm9S6chuJm;
xHNFHWXS0_Z_d1tc:
goto LG1dCttmsPASxumL;
goto wtxs4ln865X8q1Bj;
d1jJ3_sm2298tRWZ:
$this->createImage();
goto yBVDDJPAtvj2Ix3C;
UsvBxweiF2wIhAaE:
foreach ($data["streamingData"]["formats"] as $vid) {
goto a4TNXVxLNODgOpiD;
Eqp7pR2sFFrB661M:
if (!(!empty($vid["url"]) && strpos($vid["mimeType"], "video/mp4") !== false)) {
goto vySyOhJPEKjIlKZ2;
}
goto v30Mis41lQGRICy7;
Hii66BX1lcID0sWk:
vySyOhJPEKjIlKZ2:
goto SQSYBLsBa1YJcDhp;
a4TNXVxLNODgOpiD:
session_write_close();
goto Eqp7pR2sFFrB661M;
a_yUgvqB91btj7Pw:
$this->sources[] = ["file" => $vid["url"], "type" => $this->videoType, "label" => $this->googleLabel($vid["itag"])];
goto Hii66BX1lcID0sWk;
SQSYBLsBa1YJcDhp:
dY6aR1YPeG9e3N1x:
goto UVe389fDThY3Nux_;
v30Mis41lQGRICy7:
session_write_close();
goto a_yUgvqB91btj7Pw;
UVe389fDThY3Nux_:
}
goto ydKsa9eZFjwKLfrq;
QEteZrUo_kLoH8X6:
snZY16FRoMlz3HsY:
goto ZM2fHMyW_Cbap20K;
bhBcIN3o_z176LVV:
$this->referer = "https://www.youtube.com/";
goto SLCwMauBQwdvPMAl;
FoSDJGkyblc_8r9x:
if (empty($data["captions"]["playerCaptionsTracklistRenderer"]["captionTracks"])) {
goto snZY16FRoMlz3HsY;
}
goto sU6pxSBELdoK_IzC;
H_taTnKE71Munki0:
foreach ($data["captions"]["playerCaptionsTracklistRenderer"]["captionTracks"] as $sub) {
goto oFJAuNG27MterHV8;
ktKgfp9irnUAJmPI:
$this->tracks[] = ["file" => $sub["baseUrl"], "label" => $sub["name"]["simpleText"], "srclang" => $sub["languageCode"]];
goto qaMSOvv96nCrS20P;
oFJAuNG27MterHV8:
session_write_close();
goto ktKgfp9irnUAJmPI;
qaMSOvv96nCrS20P:
BwT_UJFOQN2As027:
goto C5Fbf3L3n3C3mVxo;
C5Fbf3L3n3C3mVxo:
}
goto GE6WrouHhPC3Yjm6;
ULwEtRShQrsWVG2r:
$data = @json_decode($response, true);
goto FoSDJGkyblc_8r9x;
isB5nrK4qHnOcxB8:
if (!empty($data["streamingData"]["hlsManifestUrl"])) {
goto XSCR1CylI3g21mr3;
}
goto DiJLmlx49Q3CTOjG;
EZkc3dInuF4SWNpn:
session_write_close();
goto xDMj5s_DGXbdfjBX;
M5AnAX52Xj_NhRKa:
$this->title = $data["videoDetails"]["title"];
goto jCJVN7421T2jqDEk;
Ukbgg9JKPmzUqNX1:
}
private function getAPISources()
{
goto KjjFySNABRamSHcb;
NAFZOzBBYso2eV3C:
$err = curl_error($this->ch);
goto R4ICuZS9PS767zo5;
FiqaokwyNOkC4qlB:
$this->getAPISources();
goto lBQHjDzk31DtMqe6;
KjjFySNABRamSHcb:
session_write_close();
goto ImGN6c6M215QuoJf;
AOKoJWK4AuvrYNo_:
$this->parseAPISources(trim(get_string_between($response, "var ytInitialPlayerResponse =", "};") . "}"));
goto L_udcpP0hBmTaJIq;
y5XlpmQaVZShWkcQ:
$this->usingProxy = true;
goto uEY_omnfRtjIQF7g;
BWReIkXWJ9oFGNLE:
session_write_close();
goto y5XlpmQaVZShWkcQ;
n4pRch_i5vxykBme:
$status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE);
goto NAFZOzBBYso2eV3C;
K0xUpnW3jNZ8YYcB:
goto HK5OQ_GjIlR7H3zl;
goto CqJ3Zt5ffCX0JuzN;
JW0AwxHC4uRkWbm1:
session_write_close();
goto PZqwrXKZN0et93Se;
R4ICuZS9PS767zo5:
if ($status >= 200 && $status < 400) {
goto hP4fial7EtZbErCZ;
}
goto nITxTu_p1U7TXAI0;
uEY_omnfRtjIQF7g:
$this->retryProxy += 1;
goto FiqaokwyNOkC4qlB;
nITxTu_p1U7TXAI0:
if ($status !== 404 && $this->retryProxy < 3 && in_array($this->host, $this->core->getDirectHosts())) {
goto PzwcE9FeDnqZylz7;
}
goto JW0AwxHC4uRkWbm1;
lBQHjDzk31DtMqe6:
HK5OQ_GjIlR7H3zl:
goto y_sAS9Y0Bl6Jdbnr;
jYfEjIl0kGhZ2RRz:
session_write_close();
goto AOKoJWK4AuvrYNo_;
lHcHnqEUTrWcof02:
PzwcE9FeDnqZylz7:
goto BWReIkXWJ9oFGNLE;
ImGN6c6M215QuoJf:
$this->modifyCurlConfig($this->url);
goto V6gYwK7DgHCFzn1z;
PZqwrXKZN0et93Se:
createErrorLog([__FILE__, __FUNCTION__, $this->id, $status, $err]);
goto K0xUpnW3jNZ8YYcB;
L_udcpP0hBmTaJIq:
goto HK5OQ_GjIlR7H3zl;
goto lHcHnqEUTrWcof02;
V6gYwK7DgHCFzn1z:
$response = curl_exec($this->ch);
goto n4pRch_i5vxykBme;
CqJ3Zt5ffCX0JuzN:
hP4fial7EtZbErCZ:
goto jYfEjIl0kGhZ2RRz;
y_sAS9Y0Bl6Jdbnr:
}
public function __destruct()
{
session_write_close();
parent::__destruct();
}
}
?>
Did this file decode correctly?
Original Code
<?php
/* __________________________________________________
| Obfuscated by YAK Pro - Php Obfuscator 2.0.14 |
| on 2024-05-15 09:25:47 |
| GitHub: https://github.com/pk-fr/yakpro-po |
|__________________________________________________|
*/
namespace GDPlayer\Hosting;
class youtube extends \GDPlayer\CoreExtractor
{
private $youtubeBaseUrl = "\150\x74\x74\x70\163\72\x2f\x2f\x77\x77\167\56\x79\x6f\165\x74\165\x62\145\56\x63\157\x6d\x2f";
private $thirdPartyAPIUrl = "\x68\x74\164\160\163\x3a\57\57\x79\164\61\163\x2e\x63\157\x6d\57";
private $headers = [];
public function __construct($id, $dl, $hostname)
{
goto tmrQo817gDfFphwC;
qDEYF0cTimEyDgC6:
$this->getAPISources();
goto gQ6xPVGDNdMvFpf5;
xnrN9St5hR2Hzj78:
$this->url = $this->youtubeBaseUrl . "\167\141\x74\143\x68\77\166\75" . $id;
goto lGpaiC6CosP9iIuI;
gQ6xPVGDNdMvFpf5:
if (!empty($this->sources)) {
goto C3MerneByscek_uh;
}
goto mVXfrU0Lheui4Lvy;
iZTTdqlL1Jy06VzV:
$this->baseURL = $this->youtubeBaseUrl;
goto xnrN9St5hR2Hzj78;
lGpaiC6CosP9iIuI:
$this->referer = "\150\164\x74\160\x73\x3a\57\x2f\171\x6f\165\x74\x75\142\x65\x2e\x67\x6f\x6f\147\154\145\141\160\151\x73\x2e\143\157\155\x2f";
goto qDEYF0cTimEyDgC6;
tmrQo817gDfFphwC:
session_write_close();
goto kSAX6HIqxwFCJYfI;
kSAX6HIqxwFCJYfI:
parent::__construct($id, $dl, $hostname);
goto iZTTdqlL1Jy06VzV;
s8Gd7Eg7JPRPGXR7:
$this->getThirdPartySources();
goto NmAqNV2RpCBBzzFy;
mVXfrU0Lheui4Lvy:
session_write_close();
goto s8Gd7Eg7JPRPGXR7;
NmAqNV2RpCBBzzFy:
C3MerneByscek_uh:
goto OG53pydXxlukUV0F;
OG53pydXxlukUV0F:
}
private function createImage()
{
session_write_close();
$this->image = "\150\x74\x74\160\163\x3a\x2f\57\151\x2e\x79\164\151\155\x67\56\143\157\155\57\x76\x69\57" . $this->id . "\57\x6d\141\170\x72\145\163\x64\x65\146\x61\x75\x6c\164\56\x6a\x70\x67";
}
private function thirdPartySourcesParser(array $sources = [])
{
goto wkwYbdSBKlMPNjry;
gaj1th_2ldzWX3vr:
if (empty($sources)) {
goto V9K0uEPFOZLicogp;
}
goto v14Yamk2ehWHvbYd;
v14Yamk2ehWHvbYd:
session_write_close();
goto sK8T6zQVcB_Se94k;
sK8T6zQVcB_Se94k:
foreach ($sources as $dt) {
goto JVKhcYn3B1o_oYMR;
FKYFfdDrPJzEFbsI:
tBauKpwsSA1v5Grn:
goto q0uMkFsqxsf3AvY0;
JVKhcYn3B1o_oYMR:
session_write_close();
goto jVhu5X8Vx1VwKNiQ;
jVhu5X8Vx1VwKNiQ:
$this->sources[] = ["\146\x69\154\x65" => $dt["\144\154\x69\x6e\153"], "\154\x61\x62\145\x6c" => preg_replace("\57\133\x5e\x30\x2d\71\56\135\53\x2f", '', $dt["\x66\x71\x75\141\x6c\151\164\171"]) . "\160", "\164\x79\x70\145" => $this->videoType];
goto FKYFfdDrPJzEFbsI;
q0uMkFsqxsf3AvY0:
}
goto CW5rW5wRF5FZFk9w;
wkwYbdSBKlMPNjry:
session_write_close();
goto gaj1th_2ldzWX3vr;
CW5rW5wRF5FZFk9w:
mAgyn7eKIlo_rW3j:
goto pi5dF9JUfquuJiWg;
pi5dF9JUfquuJiWg:
V9K0uEPFOZLicogp:
goto Kjo05TN67vYNOVFf;
Kjo05TN67vYNOVFf:
}
private function thirdPartySourcesConvert(array $keys = [], string $vid = '')
{
goto kfHdTtpJLa5Eer_5;
e2Pfmh9Xtms1r3vQ:
session_write_close();
goto Yf5ovV7DyRd2AyHa;
kfHdTtpJLa5Eer_5:
session_write_close();
goto CC3J6PRADzVleOBo;
Ud_ntd6KCx1fsZa1:
curl_multi_close($mh);
goto jH_DFMy1QCUlkaqb;
kHtWKjkfokXmztet:
$active = null;
goto mnKufQhKqheBHeOz;
EgzBlMP1kv9xzBzE:
$ch = [];
goto uLFR0ILcmPm40eVv;
OONZgAinNL4IleZF:
VUXvIqAzjE0ev0mU:
goto c8ZmaEq1vNp_REA1;
c8ZmaEq1vNp_REA1:
$arr = [];
goto Kvbo6VLDRHdru3S5;
uLFR0ILcmPm40eVv:
foreach ($keys as $i => $key) {
goto vSXlbauDuC8AM65T;
tdZGKr1sH2gNiRfi:
curl_multi_add_handle($mh, $ch[$i]);
goto pUsZPQeBKU9MwDNV;
vSXlbauDuC8AM65T:
session_write_close();
goto S4aOt6hVeAF2Yn1i;
nvyRN5mMhXTF_2_y:
rAzN2Ycj6mxqsnDQ:
goto XTfopTBMFtQj9Hi9;
RXs_g6iJBBSX7z4v:
curl_setopt($this->ch, CURLOPT_PROXYTYPE, $this->proxy["\x74\x79\x70\x65"]);
goto VUkE1Nf0vW41Vwrk;
pUsZPQeBKU9MwDNV:
if (!$this->proxy) {
goto vxwZARpdf9ANZIIB;
}
goto nMWJuGEZKOtNkb27;
VUkE1Nf0vW41Vwrk:
curl_setopt($this->ch, CURLOPT_PROXYUSERPWD, $this->proxy["\165\163\x72\x70\167\x64"]);
goto i2fywjqzsMWBzyxq;
nMWJuGEZKOtNkb27:
session_write_close();
goto PVqWKnKDAd4kBJ30;
i2fywjqzsMWBzyxq:
vxwZARpdf9ANZIIB:
goto UG98laSkrbpljvG9;
PVqWKnKDAd4kBJ30:
curl_setopt($this->ch, CURLOPT_PROXY, $this->proxy["\160\x72\x6f\x78\x79"]);
goto RXs_g6iJBBSX7z4v;
S4aOt6hVeAF2Yn1i:
$ch[$i] = $this->helper->getCurlDefaultConfig(curl_init($this->thirdPartyAPIUrl . "\x61\x70\151\x2f\141\152\141\170\103\157\156\166\145\162\x74\x2f\143\157\156\166\145\x72\x74"));
goto MSGxxltTcTsCZlTo;
UG98laSkrbpljvG9:
curl_setopt($ch[$i], CURLOPT_HTTPHEADER, $this->headers);
goto nvyRN5mMhXTF_2_y;
sJcaMekS44P83OJ5:
curl_setopt($ch[$i], CURLOPT_POSTFIELDS, http_build_query(array("\x76\x69\x64" => $vid, "\x6b" => $key)));
goto tdZGKr1sH2gNiRfi;
MSGxxltTcTsCZlTo:
curl_setopt($ch[$i], CURLOPT_CUSTOMREQUEST, "\120\117\123\124");
goto sJcaMekS44P83OJ5;
XTfopTBMFtQj9Hi9:
}
goto q0EuwM8V7JGOxRzP;
zL4ojoFg2TVVRpon:
goto CltR5UyGbxkmHSEl;
goto OONZgAinNL4IleZF;
Ckkn6od2325qcLqP:
iRVYoOYXnOs7Wbt9:
goto u1_CKDJn2XmAaXs3;
aQEliNZ8zhGupADf:
rDwo6KDfAwBmzNcT:
goto zL4ojoFg2TVVRpon;
CC3J6PRADzVleOBo:
$mh = curl_multi_init();
goto EgzBlMP1kv9xzBzE;
i8QDjur0oz8kiZUy:
if ($mrc === CURLM_CALL_MULTI_PERFORM) {
goto uXO3EK0DZ4y4IpXX;
}
goto lTcEtB1hyNnUqrr6;
SFfms8UrPf7zF0No:
if (!($active && $mrc === CURLM_OK)) {
goto VUXvIqAzjE0ev0mU;
}
goto Xup6n5j_E8QbgDER;
BpFRpOHktlXw_IJF:
CltR5UyGbxkmHSEl:
goto SFfms8UrPf7zF0No;
Xup6n5j_E8QbgDER:
session_write_close();
goto P3Z2C7cgDjllRJUu;
vaRqDW0O_527yZt7:
session_write_close();
goto mrfH1JtykHgZtcg6;
jH_DFMy1QCUlkaqb:
$this->thirdPartySourcesParser(array_filter($arr, function ($dt) {
session_write_close();
return is_array($dt) && !empty($dt["\x64\154\x69\156\x6b"]) && !empty($dt["\146\x71\x75\141\154\x69\164\171"]) && is_numeric(preg_replace("\x2f\x5b\136\x30\x2d\x39\x2e\x5d\53\x2f", '', $dt["\146\x71\165\141\154\151\164\x79"])); }));
goto rZEvXNnNDttPWu2C;
P3Z2C7cgDjllRJUu:
if (!(curl_multi_select($mh) === -1)) {
goto iRVYoOYXnOs7Wbt9;
}
goto vaRqDW0O_527yZt7;
q0EuwM8V7JGOxRzP:
uRJkNg6DcXHjX5fN:
goto kHtWKjkfokXmztet;
a594QU29K2vITcWY:
if ($mrc === CURLM_CALL_MULTI_PERFORM) {
goto EqMlRO1fnjLA60KN;
}
goto aQEliNZ8zhGupADf;
Ep1jkz9bE5vWkBiZ:
bHBglArm0hZcK9i0:
goto Ud_ntd6KCx1fsZa1;
mrfH1JtykHgZtcg6:
usleep(10);
goto Ckkn6od2325qcLqP;
lTcEtB1hyNnUqrr6:
hFsP7BMLwQQiqMvA:
goto BpFRpOHktlXw_IJF;
nT2lYYHJsVtpXwE6:
$mrc = curl_multi_exec($mh, $active);
goto a594QU29K2vITcWY;
mnKufQhKqheBHeOz:
uXO3EK0DZ4y4IpXX:
goto e2Pfmh9Xtms1r3vQ;
Kvbo6VLDRHdru3S5:
foreach ($keys as $i => $key) {
goto bsltEDhxgW2fZsAP;
XkMgYPAgYyJR_2J_:
MhspJpWPcQtbqNH8:
goto tAQ0Qj5aXSAEBKQv;
GiGGEprWK4uQMCNJ:
session_write_close();
goto ebtrFj8mOP2svNAr;
X13GBt5gxW9cBha9:
$response = curl_multi_getcontent($ch[$i]);
goto s9B3YeDYyoiTfvcX;
aC_hyFAakFfVGS0K:
qwhscC2CHDopT_HH:
goto f4SEoR0lZX7p6hS9;
ebtrFj8mOP2svNAr:
$arr[] = @json_decode($response, true);
goto XkMgYPAgYyJR_2J_;
tAQ0Qj5aXSAEBKQv:
curl_multi_remove_handle($mh, $ch[$i]);
goto aC_hyFAakFfVGS0K;
s9B3YeDYyoiTfvcX:
$status = curl_getinfo($ch[$i], CURLINFO_HTTP_CODE);
goto vFqzfLr9nP3eem6K;
bsltEDhxgW2fZsAP:
session_write_close();
goto X13GBt5gxW9cBha9;
vFqzfLr9nP3eem6K:
if (!($status >= 200 && $status < 400)) {
goto MhspJpWPcQtbqNH8;
}
goto GiGGEprWK4uQMCNJ;
f4SEoR0lZX7p6hS9:
}
goto Ep1jkz9bE5vWkBiZ;
DNB0CnFsBye4fEU1:
session_write_close();
goto nT2lYYHJsVtpXwE6;
u1_CKDJn2XmAaXs3:
EqMlRO1fnjLA60KN:
goto DNB0CnFsBye4fEU1;
Yf5ovV7DyRd2AyHa:
$mrc = curl_multi_exec($mh, $active);
goto i8QDjur0oz8kiZUy;
rZEvXNnNDttPWu2C:
}
private function thirdPartySources(string $response = '')
{
goto nbm_WHm2iHfT1Zp7;
A1NkdeQ43ICRSENq:
$data = @json_decode($response, true);
goto uq5IbdNQbY4MB80H;
a1qcQ4pAtteR6IH0:
IJ_nY1Zp3NY4fPNJ:
goto TlSQNer2coFh_fbp;
nbm_WHm2iHfT1Zp7:
session_write_close();
goto A1NkdeQ43ICRSENq;
zCqJ7l9QsyC0LEdy:
$keys = array_column(array_values(array_filter($data["\x6c\x69\x6e\153\x73"]["\155\160\64"], function ($dt) {
goto Ai_ALzIq6UBtZ_IB;
Ai_ALzIq6UBtZ_IB:
session_write_close();
goto husZzwBxtVopmR1m;
kfBIY1iDEqAbDvVx:
return $q === "\63\66\60" || $q === "\x34\x38\60" || $q === "\67\62\x30" || $q === "\61\x30\70\60";
goto m6ZPISt_2N3RdO9B;
husZzwBxtVopmR1m:
$q = trim($dt["\x71"], "\160");
goto kfBIY1iDEqAbDvVx;
m6ZPISt_2N3RdO9B: })), "\153");
goto yrpHdXOgAYRn9yQK;
lsJ5DA1jMXcjneQF:
mmgRvhFtc9fsFYPd:
goto a1qcQ4pAtteR6IH0;
vB1hbbbGDz2s2clQ:
$this->createImage();
goto n7_gvW9lc6KscS5D;
mvf5kWC6mVLoSNFa:
$this->title = $data["\x74\151\x74\x6c\145"];
goto Mo62EXhOCDJ93b8q;
DRgx5ZFbEefix2rp:
session_write_close();
goto mvf5kWC6mVLoSNFa;
wp2rhSyfCI6OuF9H:
$this->referer = $this->thirdPartyAPIUrl . "\145\156\x36\61\62";
goto vB1hbbbGDz2s2clQ;
dAckg2gg4FiIeMtH:
if (!(!empty($data["\166\151\144"]) && !empty($data["\154\x69\156\x6b\x73"]["\155\x70\x34"]))) {
goto mmgRvhFtc9fsFYPd;
}
goto zCqJ7l9QsyC0LEdy;
n7_gvW9lc6KscS5D:
if (empty($data["\164\151\164\154\145"])) {
goto EjuS7UN5oAei1Mwq;
}
goto DRgx5ZFbEefix2rp;
uq5IbdNQbY4MB80H:
if (!(isset($data["\x73\x74\x61\x74\165\163"]) && $data["\x73\x74\141\164\165\x73"] === "\x6f\x6b")) {
goto IJ_nY1Zp3NY4fPNJ;
}
goto ZM32HZF3KC24AO7h;
A62zG6CBU3w4Dw4f:
$this->status = "\157\x6b";
goto wp2rhSyfCI6OuF9H;
yrpHdXOgAYRn9yQK:
$this->thirdPartySourcesConvert($keys, $data["\x76\x69\x64"]);
goto lsJ5DA1jMXcjneQF;
ZM32HZF3KC24AO7h:
session_write_close();
goto A62zG6CBU3w4Dw4f;
Mo62EXhOCDJ93b8q:
EjuS7UN5oAei1Mwq:
goto dAckg2gg4FiIeMtH;
TlSQNer2coFh_fbp:
}
private function getThirdPartySources()
{
goto QEA_Or3mYIEYukKJ;
DBt_05P9ft61V06I:
$status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE);
goto naSKxGJgIp6HqPSj;
ppwqr80pAmT3InKl:
goto kKBha9mIdOK_jpzi;
goto HFMnCMR3zYcgbH_G;
uh40ObFy2H52oCeu:
curl_setopt($this->ch, CURLOPT_REFERER, $this->thirdPartyAPIUrl . "\145\x6e\64\x33\x39");
goto KtaaECElzkv1wevx;
HFMnCMR3zYcgbH_G:
DaJytFE0gU0lAuHe:
goto r7BvU2cFdJfirSXn;
IvJaGGIBnied_O3D:
$this->retryProxy += 1;
goto AavUzRgZQh1ybW4E;
zIYARqoD0OWzpjnD:
if ($status >= 200 && $status < 400) {
goto JH5MKMySKZkBk38u;
}
goto j_6tRY8U1KQPp5u1;
j_6tRY8U1KQPp5u1:
if ($status !== 404 && $this->retryProxy < 3 && in_array($this->host, $this->core->getDirectHosts())) {
goto DaJytFE0gU0lAuHe;
}
goto z_riebkBySXcpcah;
np0MvWVTXItxFK5I:
$this->modifyCurlConfig($this->thirdPartyAPIUrl . "\x61\x70\151\x2f\141\x6a\x61\x78\123\145\x61\162\143\x68\x2f\x69\156\x64\x65\170", $this->headers, "\x50\x4f\123\x54");
goto b99m7RoZRImcCkaM;
OfwNAA1CV0BV3CSX:
goto kKBha9mIdOK_jpzi;
goto zbP_ZqFuN42a6tk0;
zbP_ZqFuN42a6tk0:
JH5MKMySKZkBk38u:
goto vwc3jvyM_y73_nFr;
AavUzRgZQh1ybW4E:
$this->getThirdPartySources();
goto vgoTWI4UVtRUvv8e;
z_riebkBySXcpcah:
session_write_close();
goto SNpJyou2ApYKRzl1;
b99m7RoZRImcCkaM:
curl_setopt($this->ch, CURLOPT_POSTFIELDS, http_build_query(array("\161" => $this->youtubeBaseUrl . "\x77\x61\x74\x63\x68\77\166\x3d" . $this->id, "\166\x74" => "\x68\x6f\x6d\x65")));
goto uh40ObFy2H52oCeu;
QEA_Or3mYIEYukKJ:
session_write_close();
goto A22rjRwo4B1V3YDx;
ozus0i4j6ybjRA15:
$this->thirdPartySources($response);
goto ppwqr80pAmT3InKl;
naSKxGJgIp6HqPSj:
$err = curl_error($this->ch);
goto zIYARqoD0OWzpjnD;
vwc3jvyM_y73_nFr:
session_write_close();
goto ozus0i4j6ybjRA15;
r7BvU2cFdJfirSXn:
session_write_close();
goto sYDkCt5t6L3W74kq;
vgoTWI4UVtRUvv8e:
kKBha9mIdOK_jpzi:
goto GmANCPG119fCqatM;
sYDkCt5t6L3W74kq:
$this->usingProxy = true;
goto IvJaGGIBnied_O3D;
KtaaECElzkv1wevx:
$response = curl_exec($this->ch);
goto DBt_05P9ft61V06I;
SNpJyou2ApYKRzl1:
createErrorLog([__FILE__, __FUNCTION__, $this->id, $status, $err]);
goto OfwNAA1CV0BV3CSX;
A22rjRwo4B1V3YDx:
$this->headers = array("\x43\x6f\x6e\x74\x65\156\164\x2d\x54\x79\x70\145\72\40\141\160\160\154\x69\143\x61\x74\x69\x6f\x6e\x2f\170\55\167\167\x77\x2d\x66\x6f\162\x6d\x2d\165\x72\154\145\156\x63\x6f\144\145\144\73\40\x63\150\141\162\x73\x65\164\x3d\125\124\106\x2d\x38", "\130\x2d\122\145\161\x75\145\x73\164\x65\144\55\x57\151\164\x68\72\x20\130\115\114\110\164\164\x70\122\145\161\165\x65\x73\164");
goto np0MvWVTXItxFK5I;
GmANCPG119fCqatM:
}
private function parseAPISources(string $response = '')
{
goto AdPWgsJYURWo_3Qr;
yBVDDJPAtvj2Ix3C:
$this->status = "\157\x6b";
goto UsvBxweiF2wIhAaE;
GE6WrouHhPC3Yjm6:
EzL7yPfkCdG0CcZk:
goto QEteZrUo_kLoH8X6;
hwajG0RpbfVEhRFT:
session_write_close();
goto M5AnAX52Xj_NhRKa;
NFhL2d1aoIPwTvHB:
$this->createImage();
goto UO1pgksIVQ062Sov;
jCJVN7421T2jqDEk:
V5FFa0y2EIbDg79f:
goto isB5nrK4qHnOcxB8;
sU6pxSBELdoK_IzC:
session_write_close();
goto H_taTnKE71Munki0;
DiJLmlx49Q3CTOjG:
if (!empty($data["\x73\x74\x72\x65\141\155\x69\x6e\147\x44\x61\x74\141"]["\146\157\x72\155\x61\x74\163"])) {
goto wt0WlCbcpa0WXtjd;
}
goto EZkc3dInuF4SWNpn;
SLCwMauBQwdvPMAl:
$this->sources[] = ["\x66\151\154\x65" => $data["\163\164\162\145\x61\155\x69\x6e\x67\104\141\164\x61"]["\150\154\163\115\x61\x6e\151\146\145\x73\164\x55\162\154"], "\164\171\x70\145" => $this->hlsType, "\x6c\x61\142\145\154" => "\x4f\162\151\147\151\156\x61\154"];
goto qPOWlaQNtbOvu4OP;
AdPWgsJYURWo_3Qr:
session_write_close();
goto ULwEtRShQrsWVG2r;
UO1pgksIVQ062Sov:
$this->status = "\157\153";
goto bhBcIN3o_z176LVV;
TObEWv39i7IvduNw:
session_write_close();
goto d1jJ3_sm2298tRWZ;
xDMj5s_DGXbdfjBX:
createErrorLog([__FILE__, $this->url, "\163\164\162\145\141\x6d\151\x6e\x67\104\x61\164\x61\x20\146\157\x72\x6d\141\164\163\40\156\157\164\40\x66\x6f\165\x6e\x64\x20\157\162\40\145\x6d\160\x74\x79", $response]);
goto xHNFHWXS0_Z_d1tc;
N30QkdHm9S6chuJm:
wt0WlCbcpa0WXtjd:
goto TObEWv39i7IvduNw;
Nuba6ZHHYSwnfViW:
LG1dCttmsPASxumL:
goto Ukbgg9JKPmzUqNX1;
zKyEtYUiMeLQh1XK:
session_write_close();
goto NFhL2d1aoIPwTvHB;
ZM2fHMyW_Cbap20K:
if (empty($data["\166\151\x64\x65\157\104\x65\164\141\x69\x6c\x73"]["\164\x69\164\154\145"])) {
goto V5FFa0y2EIbDg79f;
}
goto hwajG0RpbfVEhRFT;
ydKsa9eZFjwKLfrq:
IndI0xpyxDyQ2p2T:
goto Nuba6ZHHYSwnfViW;
wtxs4ln865X8q1Bj:
XSCR1CylI3g21mr3:
goto zKyEtYUiMeLQh1XK;
qPOWlaQNtbOvu4OP:
goto LG1dCttmsPASxumL;
goto N30QkdHm9S6chuJm;
xHNFHWXS0_Z_d1tc:
goto LG1dCttmsPASxumL;
goto wtxs4ln865X8q1Bj;
d1jJ3_sm2298tRWZ:
$this->createImage();
goto yBVDDJPAtvj2Ix3C;
UsvBxweiF2wIhAaE:
foreach ($data["\163\x74\162\x65\141\155\x69\x6e\147\104\141\x74\x61"]["\146\157\162\x6d\141\x74\163"] as $vid) {
goto a4TNXVxLNODgOpiD;
Eqp7pR2sFFrB661M:
if (!(!empty($vid["\x75\x72\154"]) && strpos($vid["\155\151\x6d\145\124\x79\160\x65"], "\x76\151\x64\145\157\x2f\155\x70\x34") !== false)) {
goto vySyOhJPEKjIlKZ2;
}
goto v30Mis41lQGRICy7;
Hii66BX1lcID0sWk:
vySyOhJPEKjIlKZ2:
goto SQSYBLsBa1YJcDhp;
a4TNXVxLNODgOpiD:
session_write_close();
goto Eqp7pR2sFFrB661M;
a_yUgvqB91btj7Pw:
$this->sources[] = ["\x66\151\154\x65" => $vid["\165\x72\x6c"], "\164\171\x70\x65" => $this->videoType, "\x6c\x61\142\145\154" => $this->googleLabel($vid["\x69\x74\x61\x67"])];
goto Hii66BX1lcID0sWk;
SQSYBLsBa1YJcDhp:
dY6aR1YPeG9e3N1x:
goto UVe389fDThY3Nux_;
v30Mis41lQGRICy7:
session_write_close();
goto a_yUgvqB91btj7Pw;
UVe389fDThY3Nux_:
}
goto ydKsa9eZFjwKLfrq;
QEteZrUo_kLoH8X6:
snZY16FRoMlz3HsY:
goto ZM2fHMyW_Cbap20K;
bhBcIN3o_z176LVV:
$this->referer = "\150\164\164\x70\x73\72\57\x2f\167\167\167\x2e\x79\157\x75\x74\165\x62\145\56\143\x6f\x6d\x2f";
goto SLCwMauBQwdvPMAl;
FoSDJGkyblc_8r9x:
if (empty($data["\143\141\160\164\x69\x6f\156\163"]["\x70\154\141\171\145\162\103\141\x70\x74\x69\x6f\x6e\163\x54\162\141\143\x6b\154\151\163\x74\122\145\156\x64\145\162\145\162"]["\x63\141\x70\164\151\x6f\156\x54\x72\x61\x63\153\163"])) {
goto snZY16FRoMlz3HsY;
}
goto sU6pxSBELdoK_IzC;
H_taTnKE71Munki0:
foreach ($data["\x63\141\x70\x74\x69\157\156\163"]["\160\154\141\171\x65\x72\103\141\x70\x74\151\157\x6e\163\x54\162\x61\143\153\x6c\x69\163\x74\x52\x65\x6e\x64\x65\x72\x65\x72"]["\143\x61\160\164\x69\157\x6e\124\162\x61\143\153\163"] as $sub) {
goto oFJAuNG27MterHV8;
ktKgfp9irnUAJmPI:
$this->tracks[] = ["\146\151\154\x65" => $sub["\x62\141\163\x65\125\162\x6c"], "\x6c\x61\142\145\x6c" => $sub["\x6e\x61\155\145"]["\x73\151\155\x70\154\x65\x54\x65\170\164"], "\163\x72\x63\154\141\x6e\x67" => $sub["\x6c\x61\x6e\147\x75\141\147\145\103\x6f\144\x65"]];
goto qaMSOvv96nCrS20P;
oFJAuNG27MterHV8:
session_write_close();
goto ktKgfp9irnUAJmPI;
qaMSOvv96nCrS20P:
BwT_UJFOQN2As027:
goto C5Fbf3L3n3C3mVxo;
C5Fbf3L3n3C3mVxo:
}
goto GE6WrouHhPC3Yjm6;
ULwEtRShQrsWVG2r:
$data = @json_decode($response, true);
goto FoSDJGkyblc_8r9x;
isB5nrK4qHnOcxB8:
if (!empty($data["\163\164\x72\145\141\155\151\156\x67\x44\x61\x74\141"]["\x68\x6c\163\x4d\x61\x6e\151\x66\x65\x73\x74\x55\x72\154"])) {
goto XSCR1CylI3g21mr3;
}
goto DiJLmlx49Q3CTOjG;
EZkc3dInuF4SWNpn:
session_write_close();
goto xDMj5s_DGXbdfjBX;
M5AnAX52Xj_NhRKa:
$this->title = $data["\x76\x69\144\x65\x6f\104\145\164\141\x69\154\163"]["\x74\x69\x74\x6c\x65"];
goto jCJVN7421T2jqDEk;
Ukbgg9JKPmzUqNX1:
}
private function getAPISources()
{
goto KjjFySNABRamSHcb;
NAFZOzBBYso2eV3C:
$err = curl_error($this->ch);
goto R4ICuZS9PS767zo5;
FiqaokwyNOkC4qlB:
$this->getAPISources();
goto lBQHjDzk31DtMqe6;
KjjFySNABRamSHcb:
session_write_close();
goto ImGN6c6M215QuoJf;
AOKoJWK4AuvrYNo_:
$this->parseAPISources(trim(get_string_between($response, "\x76\141\x72\40\171\x74\111\156\151\x74\x69\141\x6c\x50\x6c\x61\171\145\162\x52\145\x73\160\x6f\x6e\163\145\40\x3d", "\175\x3b") . "\x7d"));
goto L_udcpP0hBmTaJIq;
y5XlpmQaVZShWkcQ:
$this->usingProxy = true;
goto uEY_omnfRtjIQF7g;
BWReIkXWJ9oFGNLE:
session_write_close();
goto y5XlpmQaVZShWkcQ;
n4pRch_i5vxykBme:
$status = curl_getinfo($this->ch, CURLINFO_HTTP_CODE);
goto NAFZOzBBYso2eV3C;
K0xUpnW3jNZ8YYcB:
goto HK5OQ_GjIlR7H3zl;
goto CqJ3Zt5ffCX0JuzN;
JW0AwxHC4uRkWbm1:
session_write_close();
goto PZqwrXKZN0et93Se;
R4ICuZS9PS767zo5:
if ($status >= 200 && $status < 400) {
goto hP4fial7EtZbErCZ;
}
goto nITxTu_p1U7TXAI0;
uEY_omnfRtjIQF7g:
$this->retryProxy += 1;
goto FiqaokwyNOkC4qlB;
nITxTu_p1U7TXAI0:
if ($status !== 404 && $this->retryProxy < 3 && in_array($this->host, $this->core->getDirectHosts())) {
goto PzwcE9FeDnqZylz7;
}
goto JW0AwxHC4uRkWbm1;
lBQHjDzk31DtMqe6:
HK5OQ_GjIlR7H3zl:
goto y_sAS9Y0Bl6Jdbnr;
jYfEjIl0kGhZ2RRz:
session_write_close();
goto AOKoJWK4AuvrYNo_;
lHcHnqEUTrWcof02:
PzwcE9FeDnqZylz7:
goto BWReIkXWJ9oFGNLE;
ImGN6c6M215QuoJf:
$this->modifyCurlConfig($this->url);
goto V6gYwK7DgHCFzn1z;
PZqwrXKZN0et93Se:
createErrorLog([__FILE__, __FUNCTION__, $this->id, $status, $err]);
goto K0xUpnW3jNZ8YYcB;
L_udcpP0hBmTaJIq:
goto HK5OQ_GjIlR7H3zl;
goto lHcHnqEUTrWcof02;
V6gYwK7DgHCFzn1z:
$response = curl_exec($this->ch);
goto n4pRch_i5vxykBme;
CqJ3Zt5ffCX0JuzN:
hP4fial7EtZbErCZ:
goto jYfEjIl0kGhZ2RRz;
y_sAS9Y0Bl6Jdbnr:
}
public function __destruct()
{
session_write_close();
parent::__destruct();
}
}
Function Calls
None |
Stats
MD5 | 68cb42df334300918823a6affb5dbbbe |
Eval Count | 0 |
Decode Time | 54 ms |