Comments (31)
vezi gdriveplayer.php.
Sper sa fie ce vrei.
from utils.
multumesc din suflet
from utils.
Ideea este ce vreau sa implementez in Jwplayer subtitrare automata in romana,am pus un script online care imi da subtitrare automat dupa imdbid.
https://subtitrariro.now.sh/tt1179933
Crezi ca va merge chestia asta? Se pare ca subtitrarea este in format vtt, dar Json.Poti sa adaptezi scriptul ca sa ia si subtitrarea ?
Multumesc
from utils.
Vezi ca am facut o implementare cu opensubtitles.
gdriveplayer_rum.php, opensubtitles_down.php si pt. buton download download.svg.
cautarea se face dupa imdb,
Cautarea se face dupa subtitrari in romana si engleza (primele fiind cele in romana).
Poti modifica
$lang_search="rum,eng";
Ca sa limitezi numarul de subtitrari afisate in lista de subtitrari in jwplayer modifica
$max_download=10; (la cautare limita e 100).
Daca folosesti doar in scop personal foloseste pt. opensubtitle user agent
$ua_opensuptitles="TemporaryUserAgent";
Poti sa-ti inregistrezi si tu gratuit un user-agent.
Subtitrarile se descarca doar cand alegi o alta subtitrare in jwplayer. Subtitrarile ANSI sunt codate in UTF-8 ca sa nu afiseze patrate si cerculete pt. diacritice.
Daca serverul nu e local modifica
$sub_filename="opensubtitles_down.php?id=".$arrsub[$key][2]."&token=".$token;
cu http://...../opensubtitles_down.php
Sper sa te ajute....
from utils.
A ajutat, sa-ti dea Dumnezeu sanatate!! Am vazut ca da duplicat sursele si subtitrarile,in special daca daca e numai una singura,dar nu-i nimic.
O zi placuta.
from utils.
Nu e duplicat, asa sunt puse pe opensubtitles (nu e din php).
Pentru ce ai pus tu initial poti folosi codul
``function formatSeconds( $time )
{
$hours = 0;
$milliseconds = substr($time, -3);
$seconds = substr($time, 0, -3);
if ( $seconds > 3600 )
{
$hours = floor( $seconds / 3600 );
}
$seconds = $seconds % 3600;
return str_pad( $hours, 2, '0', STR_PAD_LEFT )
. gmdate( ':i:s', $seconds )
. ",".$milliseconds
;
}
$l="https://subtitrariro.now.sh/tt1179933";
$r=json_decode(file_get_contents($l),1);
//print_r ($r);
$out="";
for ($k=0;$k<count($r);$k++) {
$out .=($k+1)."\n";
$out .= formatSeconds($r[$k]['start'])." --> ".formatSeconds($r[$k]['end'])."\n";
$out .= $r[$k]['text']."\n"."\n";
}
echo $out;
'`
Oricum e munca dubla, sursa fiind tot opensubtitles.
In plus cum majoritatea subtitrarilor sunt inca ANSI o sa vezi caractere ciudate la diacritice.
from utils.
Am pus in scriptul ala un cod sa transforme diacritice in caractere normale, mi-a pus S,T,dar "ă" nu-l recunoaste
from utils.
ceea ce ai facut tu acolo, scriptul ala de opensubtitle e aur.Crede-ma ca am rascolit tot portalul Github dupa asa ceva nu am gasit ce-mi trebuia mie.Apreciez gestul si munca depusa,ma bucur sa vad ca mai sunt si oameni cu suflet, care sa-ti dea o mana de ajutor fara sa te beleasca de bani :)
from utils.
O implementare javascript gasesti aici
https://vidsrc.me/embed/tt1300854/
from utils.
Stiu,am studiat codul alora,dau mei trebuia un fisier php,care nu-l aveam. Apropo, am vazut ca mobil nu apar subtitrarile.
from utils.
Gata,nu mai functioneaza.. :(
from utils.
merge, schimba jwplayer.js
from utils.
da-mi un id de fb, telegram, orice unde putem vorbi
from utils.
au schimbat si pass la decrypt... probabil urmaresc si ei github (am mai patit-o si cu altele...)
Adauga in cod dupa
$h = $jsu->Unpack($h);
$t1=explode("null,'",$h);
$t2=explode("'",$t1[1]);
$js=$t2[0];
$keywords = preg_split("/[a-zA-Z]{1,}/",$js);
$out="";
for ($k=0;$k<count($keywords);$k++) {
$out .=chr($keywords[$k]);
}
$t1=explode('pass = "',$out);
$t2=explode('"',$t1[1]);
$pass=$t2[0];
pentru opensubtitles trebuie alt ua, te rog nu-l folosi pe al meu.
from utils.
Au script de tracking in sursa,probabil vad de pe ce domeniu se fac requesturi.
from utils.
au schimbat si pass la decrypt... probabil urmaresc si ei github (am mai patit-o si cu altele...)
Adauga in cod dupa
$h = $jsu->Unpack($h);
$t1=explode("null,'",$h);
$t2=explode("'",$t1[1]);
$js=$t2[0];
$keywords = preg_split("/[a-zA-Z]{1,}/",$js);
$out="";
for ($k=0;$k<count($keywords);$k++) {
$out .=chr($keywords[$k]);
}
$t1=explode('pass = "',$out);
$t2=explode('"',$t1[1]);
$pass=$t2[0];pentru opensubtitles trebuie alt ua, te rog nu-l folosi pe al meu.
Nu merge,am pus codu de mai sus, nici un link
from utils.
Ai stres linia cu $pass="aadsdasdassgff"; ?????
Acum am verificat si merge, vezi ca fac si un push
from utils.
La mine nu merge,posibil sa fi pus ceva restrictii in cloudflare.
Linkurile generate sunt in forma asta:
*.vip/drive/redir.php?id=9d3d714e7f414ba160fdce981ce51767&type=movie&ids=914&judul=10+Cloverfield+Lane+%282016%29`
si Jwplayer da erorare:
This video file cannot be played.
(Error Code: 224003)
from utils.
asta-i alta poveste. Posibil sa fie sters (nu are legatura cu cloudflare), caz in care ei folosesc ca rezerva vidcloud9 si lucrurile se complica....pentru ca si vidcloud9 e tot un fel de gdriver
from utils.
crezi ca ma poti ajuta sa implementez javascriptul de la vidsrc,am incercat codul din pagina, cu link http catre savesub.php,dar imi da ca serviciul nu este aviabil.
$.ajax('//vidsrc.me/save_srt.php', {
method: "POST",
data: formData,
macar asa pot pune api-ul in sandbox si am subtitrare.
from utils.
from utils.
i try this now
i open https://database.gdriveplayer.us/player.php?imdb=tt1179933
after that open
https://redirector.gdriveplayer.me/drive/index.php?id=9gG7vHsRpexip6%2FuP0HpDg02WVIyb27%2FOND%2FCFSwHX2BbZBq07XGigdFLmXxATq%2BwpKeygRgzTlpG%2FE%2BTikLy16pAVaV9Nq3k3szZRt4pJfTwawxHLwIOtTrDZ28Tq7r%2BDQOWPK2dJBue%2B%2BWXOwj2HtqXtqgqdH2dxsjmMft6pOUPyNvOtAPHBDE4hBcH2sVJGLd0KvQXWu6AIjn7bra6w3g%2BvlRr5brxtxqxrZeRJT%2FzXMpyXubELiVbov7LZxlg%3D&ref=https%3A%2F%2Fsoap2day.ru%2Fmovie%2Fplay%2F10-cloverfield-lane-2016-hdsYDE03%2Fwatch.html&res=default
work but if i open another video without open https://database.gdriveplayer.us/player.php?imdb=xxxx not work
from utils.
They add referer
So, if you play link in a player with custom headers add
$link=$link."|Referer=urlencode("https://database.gdriveplayer.me"); // is me now
If you use jwplayer make a new file "redirect.php" to get location
In jwplayer use file: redirect.php?file=urlencode($link);
And redirect.php
$filelink=urldecode($_GET['file']);
$ua = $_SERVER['HTTP_USER_AGENT'];
$filelink=str_replace(" ","%2B",$filelink); // stupid js encoding
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $filelink);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,0);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_REFERER, "https://database.gdriveplayer.me");
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 15);
curl_setopt($ch, CURLOPT_HEADER,1);
curl_setopt($ch, CURLOPT_NOBODY,1);
$h = curl_exec($ch);
curl_close($ch);
if (preg_match("/location:\s*(http.+)/i",$h,$m))
$link=trim($m[1]);
echo $link; (or better header("Location: $link"); )
from utils.
tnx a lot work for me.
from utils.
Hi can you fix hydrax if you can
from utils.
and pls can you help me with this when i get https://lh3.googleusercontent.com/A_hgNoVsgdvkRMl6KyWrJoQoQ7k7BcbjxPSpUXtf-iMBMNVMsBKoJHTXfyXiS81bhhL9AJPrkagmjHM7RW7FsjJNaOcUfXkZzMyoesqi9TZ6jw8daKgWnl6jMd-h0lF-a9ivsfsstg=m22 work in jwplayer but in browser not work i use curl to get redirector but the link i get not work can you help me
$ch = curl_init("https://lh3.googleusercontent.com/A_hgNoVsgdvkRMl6KyWrJoQoQ7k7BcbjxPSpUXtf-iMBMNVMsBKoJHTXfyXiS81bhhL9AJPrkagmjHM7RW7FsjJNaOcUfXkZzMyoesqi9TZ6jw8daKgWnl6jMd-h0lF-a9ivsfsstg=m22"); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_NOBODY, true); $response = curl_exec($ch); $resolved = curl_getinfo($ch); echo $resolved['url'];
from utils.
Work for me. If you want final, final link, change in "redirect.php"
curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,1); //(from 0)
and
if (preg_match_all("/location:\s*(http.+)/i",$h,$m)) // use preg_match_all now and get last location
$link=trim($m[1][count($m[1])-1]);
Also add (js encoding and php encoding....)
$filelink=str_replace(" ","%2B",$filelink);
$filelink=str_replace("%20","%2B",$filelink);
$filelink=str_replace("+","%2B",$filelink);
from utils.
Hi can you fix hydrax if you can
I update hydrax, but work only with a player with custom headers (need to send cookie and referer).
For me works with MX Player. Quality is very, very low.
from utils.
Client and server must be on same address. Most links don't accespt different host.
from utils.
but i see this site work link https://vidcloud9.com/streaming.php?id=MzEzODQ1&title=Time+Apart&typesub=SUB&sub=&cover=Y292ZXIvdGltZS1hcGFydC1sYXJnZS5wbmc=
Mate, Can We talk on Telegram?
from utils.
They add referer
So, if you play link in a player with custom headers add
$link=$link."|Referer=urlencode("https://database.gdriveplayer.me"); // is me now
If you use jwplayer make a new file "redirect.php" to get location
In jwplayer use file: redirect.php?file=urlencode($link);
And redirect.php
$filelink=urldecode($_GET['file']);
$ua = $_SERVER['HTTP_USER_AGENT'];
$filelink=str_replace(" ","%2B",$filelink); // stupid js encoding
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $filelink);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION ,0);
curl_setopt($ch, CURLOPT_USERAGENT, $ua);
curl_setopt($ch, CURLOPT_REFERER, "https://database.gdriveplayer.me");
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);
curl_setopt($ch, CURLOPT_TIMEOUT, 15);
curl_setopt($ch, CURLOPT_HEADER,1);
curl_setopt($ch, CURLOPT_NOBODY,1);
$h = curl_exec($ch);
curl_close($ch);
if (preg_match("/location:\s*(http.+)/i",$h,$m))
$link=trim($m[1]);
echo $link; (or better header("Location: $link"); )
Not work anymore
from utils.
Related Issues (20)
- please add streamlare HOT 2
- vidcloud9.php HOT 6
- hydrax.php HOT 2
- can i contact you HOT 1
- please add google photos
- please add pkspeed.net HOT 1
- HELP For PLAY video Sir
- please add videostream.php HOT 2
- I want to Buy
- Mail.ru ?
- Please Add vcloudz.link
- 2embed.to rabbitstream HOT 5
- Please add Streamhide :D HOT 1
- help streamhide
- ASK streamSB,please help
- Please add Bilibili.tv HOT 1
- StreamSB is not working anymore , please help HOT 4
- ok.ru HOT 9
- vidguard update please HOT 2
- Add rutube.ru
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from utils.