Multimedia (depraced!) > x10Media - WRZUTA.PL FIX

x10Media - WRZUTA.PL FIX


Date: 14 April 2009 | Posted by: KUL
x10Media Audio Search - WRZUTA.PL FIX


Wrzuta.pl Source Fix:

1- Open includes/sources/init.php
find:
Code:

$url1 = 'http://www.wrzuta.pl/search.php?type=a&tag=&words=' . $srch . '&order=v&login=&dsp_type=0&page_size=&page=' . $p;

change it to:
Code:

$url1 = 'http://www.wrzuta.pl/szukaj/audio/' . $srch . '/' . $p;


2- find:
Code:

$theId = extstr3 ($dodol, 'wrzuta.pl/audio/', '/');
$id = $theID;
$name = extstr3 ($dodol, '">', '');
$playtime = extstr3 ($res, '
0', '');
$url = 'http://www.wrzuta.pl/aud/file/' . $theId . '/' . $lname;


replace it with:
Code:

$theId = extstr3 ($dodol, 'wrzuta.pl/audio/', '/');
$author = extstr3 ($res, '
', '
');
$author2 = extstr3 ($author, '">', '
');
$id = $theID;
$name = extstr3 ($dodol, '">', '');
$playtime = extstr3 ($res, '
0', '');
$url = 'http://' . $author2 . '.wrzuta.pl/sr/f/' . $theId . '/';
See full article