Moderators Dragos Posted November 3, 2010 Moderators Report Share Posted November 3, 2010 (edited) Cu acest script poti descarca videoclipuri de pe VPlay. Scriptul este simplu, fara interfata. L-am facut cu ajutorul lui SlicK.Nu merge inca pentru seriale.In loc de IDFILM pui id-ul filmului de pe VPlay. De exemplu, pentru asta, id-ul filmului este gy3drjmj.<?php //mod de folosire : pagina.php?k=IDFILM $k = $_GET['k']; $x = curl_init("http://www.vplay.ro/play/dinosaur.do"); curl_setopt($x, CURLOPT_POST, 1); curl_setopt($x, CURLOPT_POSTFIELDS, 'onLoad=%5Btype%20Function%5D&external=0&key='.$k); curl_setopt($x, CURLOPT_FOLLOWLOCATION, 0); curl_setopt($x, CURLOPT_RETURNTRANSFER, 1); $data = curl_exec($x); $q = get_string_between ($data, '=','&'); header("Cache-Control: public"); header("Content-Description: File Transfer"); header('Content-Disposition: attachment; filename="video.flv"'); header("Content-Type: application/flv"); header("Content-Transfer-Encoding: binary"); readfile($q); curl_close($x);function get_string_between($string, $start, $end){ $string = " ".$string; $ini = strpos($string,$start); if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini; return substr($string,$ini,$len);}?> Edited November 4, 2010 by Dragos 1 Quote Link to comment Share on other sites More sharing options...
extremcs2 Posted November 3, 2010 Report Share Posted November 3, 2010 Interesant Quote Link to comment Share on other sites More sharing options...
Cheater Posted November 3, 2010 Report Share Posted November 3, 2010 Poti sa pui ca variabila $k sa isi ia valuarea din get, astfel nu trebuie sa editezi de fiecare data scriptul. Frumos. Quote Link to comment Share on other sites More sharing options...
Guest Kabron Posted November 3, 2010 Report Share Posted November 3, 2010 Ok , din moment ce am baut ceva .. vin si eu ca musca.Toata lumea cere conturi VIP pe vplay, am spus-o si o mai spun: nu am asteptat mai niciodata pe vplay iar atunci cand astept tot ce fac este sa schimb ip-ul si sa dau clear la cookies. iar referitor la download ( din moment ce nu astept) gasesc tot-ul in /tmp .. so nu e nevoie sa folosesc ..script.Anyway , nice work. Quote Link to comment Share on other sites More sharing options...
dragosdydy Posted November 3, 2010 Report Share Posted November 3, 2010 Poate gasiti ceva si pentru seriale!!! Quote Link to comment Share on other sites More sharing options...
phreak Posted November 4, 2010 Report Share Posted November 4, 2010 @synthesis , ati incercat sa construiti un request pentru seriale adaugand doar referer de la pagina de wait pentru episodul respectiv si cookie-ul? ( nu stiu de ce, dar am eu impresia ca ar tine de referer mult..sau, sa folositi un cont VIP pentru a face o baza de date cu toate linkurile de download. (presupunand ca se poate extrage linkul de download al episodului din pagina incarcata dupa "wait" si te lasa sa descarci de pe el ) Quote Link to comment Share on other sites More sharing options...
Moderators Dragos Posted November 4, 2010 Author Moderators Report Share Posted November 4, 2010 (edited) @synthesis , ati incercat sa construiti un request pentru seriale adaugand doar referer de la pagina de wait pentru episodul respectiv si cookie-ul? ( nu stiu de ce, dar am eu impresia ca ar tine de referer mult..sau, sa folositi un cont VIP pentru a face o baza de date cu toate linkurile de download. (presupunand ca se poate extrage linkul de download al episodului din pagina incarcata dupa "wait" si te lasa sa descarci de pe el )La seriale, la un cont normal, se face acelasi request la dinosaur.do, doar ca daca utilizatorul a trecut de 30 de minute afiseaza linkul.Ma gandesc ca la VIP ar fi un parametru sau ceva in plus. Edited November 4, 2010 by Dragos Quote Link to comment Share on other sites More sharing options...
tudorel_77 Posted November 9, 2010 Report Share Posted November 9, 2010 Cu acest script poti descarca videoclipuri de pe VPlay. Scriptul este simplu, fara interfata. L-am facut cu ajutorul lui SlicK.Nu merge inca pentru seriale.In loc de IDFILM pui id-ul filmului de pe VPlay. De exemplu, pentru asta, id-ul filmului este gy3drjmj.<?php //mod de folosire : pagina.php?k=IDFILM $k = $_GET['k']; $x = curl_init("http://www.vplay.ro/play/dinosaur.do"); curl_setopt($x, CURLOPT_POST, 1); curl_setopt($x, CURLOPT_POSTFIELDS, 'onLoad=%5Btype%20Function%5D&external=0&key='.$k); curl_setopt($x, CURLOPT_FOLLOWLOCATION, 0); curl_setopt($x, CURLOPT_RETURNTRANSFER, 1); $data = curl_exec($x); $q = get_string_between ($data, '=','&'); header("Cache-Control: public"); header("Content-Description: File Transfer"); header('Content-Disposition: attachment; filename="video.flv"'); header("Content-Type: application/flv"); header("Content-Transfer-Encoding: binary"); readfile($q); curl_close($x);function get_string_between($string, $start, $end){ $string = " ".$string; $ini = strpos($string,$start); if ($ini == 0) return ""; $ini += strlen($start); $len = strpos($string,$end,$ini) - $ini; return substr($string,$ini,$len);}?>http://www.vplay.ro/play/dinosaur.do Quote Link to comment Share on other sites More sharing options...
Moderators Dragos Posted November 9, 2010 Author Moderators Report Share Posted November 9, 2010 http://www.vplay.ro/play/dinosaur.doPentru ce ai mai postat linkul de la dinosaur? Quote Link to comment Share on other sites More sharing options...
stelist2bad4u Posted May 9, 2011 Report Share Posted May 9, 2011 Cum se foloseste chestia asta? Quote Link to comment Share on other sites More sharing options...
Moderators Dragos Posted May 9, 2011 Author Moderators Report Share Posted May 9, 2011 Cum se foloseste chestia asta?Rulezi scriptul pe un server Apache, adica pui codul intr-un fisier (ex: a.php) si il urci undeva pe un server FTP si apoi il accesezi in browser. Quote Link to comment Share on other sites More sharing options...
bodo23 Posted December 9, 2011 Report Share Posted December 9, 2011 imi spune si mie cn cum pot descarca Vplay / Hip Hop Honeys - Young Jeezy - Tear It Up www bestvideorap blogspot com ?ms. Quote Link to comment Share on other sites More sharing options...
Pugna Posted December 10, 2011 Report Share Posted December 10, 2011 Cu un cont VIP pe vplay nu se pot crawla toate URL-urile serialelor in format flash ? O data ce le ai, doar le deschizi in Chrome si se streameaza fara sa mai ai nevoie de cont. Quote Link to comment Share on other sites More sharing options...
Xander Posted December 10, 2011 Report Share Posted December 10, 2011 nu mai exista vip pe vplay Quote Link to comment Share on other sites More sharing options...
voodoo Posted March 1, 2012 Report Share Posted March 1, 2012 Vplay download ... merge perfect. Quote Link to comment Share on other sites More sharing options...