Go Back   MaxConsole Forums > PSP > PSP Homebrew, Emulation & Developers Release Corner


    [Release] PSPTube pornScripts - pornPack
 
Thread Tools Display Modes
Reply
  #1  
Old 05-04-2008, 07:14 AM
darionco darionco is offline
Registered User
 
Registered: May 2008
Posts: 54
Talking [Release] PSPTube pornScripts - pornPack

Last update
This thread is outdated and the files presented here do not work anymore, i'm not updating this thread anymore. Instead you can follow my tutorial on how to create your own PSPTube scripts located here:

http://forums.maxconsole.net/showthread.php?t=129699

Can a moderator close this thread please?
Thanks for your support.

darionco.


Hello guys,

I'm releasing this files with no warranty at all.

Thanks to:
SofiyaCat <---- for creating PSPTube
FreePlay
Cool Dude 2k
Game Maker 2k

for the source code that made this files possible.

No thanks to arnookie because he didn't thank in his last release

The file doesn't come with a TXT so read carefully:

To install the plug-ins:
Just unpack the ZIP file and copy both, the YouPorn.js and the yuvutu.js files to the "system/site/" folder inside your PSPTube installation folder (usually "PSP/GAME/PSPTube"). If you don't know how to do this, good!, you're probably just a kid and we don't want to corrupt you, do we?

The yuvutu plug-in.
(extrated from the source code)

In the search box on the PSP write, divided by ":" (colon), the keywords you want to search, the tags and the author if you want
also you can select the filter by adding a value between 0 and 4 meaning:

******* DEFAULT: 0 ********
0 = Any
1 = Undefined
2 = Soft Core
3 = Hard Core
4 = Extreme

the channel by adding a value between 0 to 5 meaning:

******* DEFAULT: 1 ********
0 = Any
1 = Straight
2 = Gay
3 = Lesbian
4 = C-o-c-k Shots
5 = TV/TS/Bi

and the style by adding a value between 0 and 2 meaning:

******* DEFAULT: 0 ********
0 = Any
1 = Amateur
2 = Pro

so if you just want to quick search for girls with big tits having sex i would write in the PSP search box:
"Big Tits" (without the quotation)
on the other hand if I want to search for extreme amateur anal sex with a big ass on it i would write:
"anal sex:big ass::4::1" (without the quotation)

so the full format would be:

key words:tags:author:filter Number:channel Number:style Number

I hope you get the picture.

PS: if you write "yuvutu" (without quotation) in the search box you'll get the videos on the home page of the site


The YouPorn plug-in.
I just updated FreePlay's plug-in, it works again and now supports multiple result pages.
If you type "youporn" (without quotation) in the search box you'll get the videos on the home page of the site.

I don't know if it's my PSP/Connection but this site works really slow on my PSP.

Notes.
Please note that this files will eventually stop working because the video sites update their engines and change the way the data is managed, this most likely will happen to all the PSPTube site plug-ins, it's just a normal procedure and it is not PSPTube's nor mine nor the website's fault.

Also note that this files depend on an external php script hosted on a free server, thus they could fail or stop working without notice, again that's nobody's fault.



DOWNLOAD
*** old version ***
MegaUpload
*** old version ***





****** UPDATE ******
I updated the package to fix some bugs on May/05/2008

Change log:
- Fixed a bug that changed the pages 10 by 10 instead of 1 by 1
- Fixed some bugs in the thumbnail images
- Added PornHub
- Added Shufuni

The PornHub plug-in
Just a simple search interface, write what you want to look for in the search box on your PSP. If you enter "pornhub" (without quotation) in the search box you'll get all the videos from the site sorted by ... date?...

The Shufuni plug-in
Just a simple search interface, write what you want to look for in the search box on your PSP.

DOWNLOAD
*** old version ***
MegaUpload
*** old version ***






****** UPDATE ******
**** May/08/2008 ****

Change log:
- Changed the name to "PSPTube pornScripts"
- New package "PSPTube pornPack"
- Added tube8
- Added tnaflix

PSPTube pornScripts
This package is the same as the old ones, containing only the scripts for drag and drop.

PSPTube pornPack
This package contains PSPTube by SofiyaCat and all the scripts already installed, just unpack in the "GAME" folder of your PSP (3.xx custom firmware required).

The tube8 plug-in
Just a simple search interface, write what you want to look for in the search box on your PSP. If you enter "tube8" (without quotation) in the search box you'll get all the videos from the home page.

The tnaflix plug-in
Note that this is not a fix of the version by yagami47 thus it does not have all the functionality that the previous version had.
Just a simple search interface, write what you want to look for in the search box on your PSP.

DOWNLOAD

*** old version ***
PSPTube pornScripts (plug-ins **ONLY**)
PSPTube pornPack (includes PSPTube ready to roll!)
*** old version ***






****** UPDATE ******
**** May/21/2008 ****

Change log:
- Fixed Shufuni
- Added XVideos by Cool Dude 2k
- Added MuchoSucko by CoolDude 2k
- Added servebeer_side scripts

Fixed Shufuni
Well... what can I say? it wasn't working so I fixed it.

XVideo by Cool Dude 2k
Cool Dude 2k, programed this awesome script, it uses the same method as all the others, a server side script hosted on a free(?) server.

It has some advanced functionality, in the search box on your PSP you can either search for a regular string or search for (these are self explanatory):

- XVideo Newest
- XVideo Popular
- XVideo Hits
- XVideo Unrated
- XVideos

Thanks again to Cool Dude 2k.

MuchoSucko by Cool Dude 2k
Cool Dude 2k, programed this awesome script, it uses the same method as all the others, a server side script hosted on a free(?) server.

It has some advanced functionality, in the search box on your PSP you can either search for a regular string or search for (these are self explanatory):

- MuchoSucko Newest
- MuchoSucko Popular
- MuchoSucko Recommended
- MuchoSucko Discussed
- MuchoSucko

Some of the content on this site are not videos, it also has Images (pics) and flash games, thus not all the results will work on PSPTube.

Thanks again to Cool Dude 2k.

servebeer_side scripts
This pack is for (not so) advanced users, with it, you can host the files on your own server (free or not) and forget about bandwidth and lag.
To do it you only have to edit the server side scripts and the js files to match the URL of your server.

DOWNLOAD (Thanks to ruffryder91290 for the links)
*** old version ***
PSPTube pornScripts (plug-ins **ONLY**)
PSPTube pornPack (includes PSPTube ready to roll!)
Server side PHP scripts
*** old version ***






****** UPDATE ******
**** May/24/2008 ****

Change log:
- Fixed Shufuni (again)
- Added SpankWire
- Added NothingToxic (not porn)
- Added TinyPic by Cool Dude 2k (not porn)

Fixed Shufuni (again)
I'm probably dropping support for this site, it changes too much too fast... let's see what happens.

Added SpankWire
Just a simple search interface, write what you want to look for in the search box on your PSP.

NothingToxic (not porn)
This script I made by request of Psimxc, not a porn site but has a lot of funny, shocking and some "sexy" videos.

It is just a simple search interface, write what you want to look for in the search box on your PSP. If you enter "nothingtoxic" (without quotation) in the search box you'll get all the videos from the home page.

TinyPic by Cool Dude 2k (not porn)
This script actually shipped with the last version but I didn't updated on it so here it is:

Cool Dude 2k, programed this awesome script, it uses the same method as all the others, a server side script hosted on a free(?) server.

It has some advanced functionality, in the search box on your PSP you can either search for a regular string or search for (these are self explanatory):

- TinyPic New
- TinyPic Best
- TinyPic Rand

Thanks again to Cool Dude 2k.

DOWNLOAD (Thanks to satan666murdoll for the links)
*** old version ***
PSPTube pornScripts (plug-ins **ONLY**)
PSPTube pornPack (includes PSPTube ready to roll!)
*** old version ***






****** UPDATE ******
**** Jun/03/2008 ****

As you can read in some post in this thread, I got this e-mail from my free web hosting provider:

Quote:
Dear darionco,

Your hosting account darionco has been warned due to high CPU usage - it has reached the limit allowed by your hosting plan.

Your plan is allowed to use: 1.3 % CPU average.
Your account has used: 1.41 % CPU average the last 3 days.

Your account will be automaticaly blocked if you use more CPU load than your plan is allowed in the next 48 hours.

If you have any questions please open a new support ticket from the Help section of the Control Panel.

Best Regards,
100 Web Space Team
Meaning that ALL MY SCRIPTS STOPPED WORKING, Cool Dude 2k's still work. This update fixes all of them.

This is a temporary fix, I'm looking for a solution right now... a FREE solution, if you have a server and would like to help, reply to this thread or PM me.

Change log:
- Fixed PornHub (thanks to psionix for reporting it)
- Temporary fix to all the other scripts

Fixed PornHub
psionix pointed out some changes on the PornHub sute that made the script stop working, it is fixed now.

Temporary fix to all the other scripts
Just the JS files changed, so you just have to download, drag and drop.

If you want your own permanent personal solution, download the servebeer_side scripts and the pornScripts pack, edit the JS and the PHP files to work with your server and drag and drop the edited versions to your PSP.

I'll keep you updated.

DOWNLOAD
No pornPack this time, for pornScripts check the attachments (sorry).
For servebeer_side scripts check the attachments.


If you download it and you like it, say thanks...

darionco


Last edited by darionco; 10-17-2008 at 10:35 PM. Reason: Update
Reply With Quote

  #2  
Old 05-05-2008, 03:12 AM
darionco darionco is offline
Registered User
 
Registered: May 2008
Posts: 54
Updated

*** Updated *** Read above.

common guys if you download it at least say thanks.
Reply With Quote

  #3  
Old 05-05-2008, 02:55 PM
Prime Dragon Prime Dragon is offline
Registered User
 
Registered: Nov 2006
Posts: 200
This topic is lulz.
Reply With Quote

  #4  
Old 05-05-2008, 03:25 PM
ruffryder91290 ruffryder91290 is offline
Registered User
 
Registered: Dec 2006
Posts: 5
thanks, hope you release more scripts.
Reply With Quote

  #5  
Old 05-05-2008, 05:40 PM
Illegal Machine's Avatar
Illegal Machine Illegal Machine is offline
Registered User
 
Registered: Jun 2006
Location: Pittsburgh
Posts: 1,318
is this a full drag and drop?


ready to go and use?
Quote:
Originally Posted by Dark_AleX View Post
Illegal Machine Rules!!!!
link
Reply With Quote

  #6  
Old 05-05-2008, 08:23 PM
darionco darionco is offline
Registered User
 
Registered: May 2008
Posts: 54
How to

You have to have PSPTube installed, then just drag and drop the contents of the zip file in the "system/site/" inside your PSPTube installation folder on your ms. Start PSPTube on your PSP and you'll see the new sites.
Reply With Quote

  #7  
Old 05-07-2008, 07:32 AM
thejj thejj is offline
Registered User
 
Registered: May 2008
Posts: 1
Quote:
Originally Posted by darionco View Post
You have to have PSPTube installed, then just drag and drop the contents of the zip file in the "system/site/" inside your PSPTube installation folder on your ms. Start PSPTube on your PSP and you'll see the new sites.
Where i can download it?
Reply With Quote

  #8  
Old 05-07-2008, 12:59 PM
davinci99 davinci99 is offline
Registered User
 
Registered: May 2008
Posts: 1
Thanks for the scripts. Good work. Any chance you could fix tnaflix scripts, they have stopped working.
Reply With Quote

  #9  
Old 05-07-2008, 01:17 PM
NinjaRyuu NinjaRyuu is offline
Registered User
 
Registered: Feb 2007
Location: Texas
Posts: 261
Quote:
Originally Posted by thejj View Post
Where i can download it?
http://dl.qj.net/PSPTube010308-Arnoo...6112/catid/140


Thanks for the scripts.

More fapping material!
Reply With Quote

  #10  
Old 05-08-2008, 03:43 AM
Cool Dude 2k Cool Dude 2k is offline
Registered User
 
Registered: Jan 2007
Posts: 5
Quote:
Originally Posted by darionco View Post
****** UPDATE ******
I updated the package to fix some bugs on May/05/2008

Change log:
- Fixed a bug that changed the pages 10 by 10 instead of 1 by 1
- Fixed some bugs in the thumbnail images
Thanks for fixing the 10 page bug.

Quote:
Originally Posted by darionco View Post
Also note that this files depend on an external php script hosted on a free server, thus they could fail or stop working without notice, again that's nobody's fault.
Heres the PHP code I use on the server.
PHP Code:
<?php
/*
    This program is free software; you can redistribute it and/or modify
    it under the terms of the Revised BSD License.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Revised BSD License for more details.

    Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/
    Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/

    $FileInfo: index.php - Last Update: 03/01/2008 Ver 2 - Author: cooldude2k $
*/
$ypapiurl "http://youapi.farvista.net/";
if(isset(
$_GET['ypapiurl'])) { $ypapiurl $_GET['ypapiurl']; }
if(!isset(
$_GET['ypapiurl'])) { $ypapiurl $ypapiurl; }
if(!isset(
$_SERVER['HTTPS'])) { $_SERVER['HTTPS'] = "off"; }
if(
$_SERVER['HTTPS']=="on") { $prehost "https://"; }
if(
$_SERVER['HTTPS']!="on") { $prehost "http://"; }
if(!isset(
$_SERVER["REQUEST_URI"])) {
$_SERVER["REQUEST_URI"] = $_SERVER["SCRIPT_NAME"]."?".$_SERVER["QUERY_STRING"]; }
if(isset(
$_GET['ypapiurl'])) { $referurl $prehost.$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"]; }
if(!isset(
$_GET['ypapiurl'])) { $referurl null; }
function 
html_tag_make($name="br",$emptytag=true,$attbvar=null,$attbval=null,$extratest=null) {
    
$var_num count($attbvar); $value_num count($attbval);
    if(
$var_num!=$value_num) { 
        echo 
"Erorr Number of Var and Values dont match!";
    return 
false; } $i 0;
    while (
$i $var_num) {
    if(
$i==0) { $mytag "<".$name." ".$attbvar[$i]."=\"".$attbval[$i]."\""; }
    if(
$i>=1) { $mytag $mytag." ".$attbvar[$i]."=\"".$attbval[$i]."\""; }
    if(
$i==$var_num-1) { 
    if(
$emptytag==false) { $mytag $mytag.">"; }
    if(
$emptytag==true) { $mytag $mytag." />"; } }    ++$i; }
    if(
$attbvar==null&&$attbval==null) { $mytag "<".$name;
    if(
$emptytag==true) { $mytag $mytag." />"; }
    if(
$emptytag==false) { $mytag $mytag.">"; } }
    if(
$emptytag==false&&$extratest!=null) { 
    
$mytag $mytag.$extratest$mytag $mytag."</".$name.">"; } 
    return 
$mytag; }
// Start a xml document
function xml_tag_make($type,$attbs,$retval=false) {
    
$renee1 explode("&",$attbs);
    
$reneenum=count($renee1);
    
$reneei=0$attblist null;
    while (
$reneei $reneenum) {
    
$renee2 explode("=",$renee1[$reneei]);
    if(
$renee2[0]!=null||$renee2[1]!=null) {
    
$attblist $attblist.' '.$renee2[0].'="'.$renee2[1].'"'; }
    ++
$reneei; }
    if(
$retval!=false&&$retval!=true) { $retval=false; }
    if(
$retval==false) {
    echo 
'<?'.$type.$attblist.'?>'."\n"; }
    if(
$retval==true) {
    return 
'<?'.$type.$attblist.'?>'."\n"; } }
// Start a xml document (old version)
function xml_doc_start($ver,$encode,$retval=false) {
    if(
$retval==false) {
    echo 
xml_tag_make('xml','version='.$ver.'&encoding='.$encode,true); }
    if(
$retval==true) {
    return 
xml_tag_make('xml','version='.$ver.'&encoding='.$encode,true); } }
if(!isset(
$_GET['q'])&&!isset($_GET['v'])) {
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title> Search Test </title>
<meta http-equiv="Content-Language" content="en">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="EditPlus">
<meta name="Author" content="Search">
<meta name="Keywords" content="Search FLV Downloader">
<meta name="Description" content="Get FLV File from Search URL">
<link rel="icon" href="favicon.ico" type="image/icon">
<link rel="shortcut icon" href="favicon.ico" type="image/icon">
<style type="text/css">
html {
    font-family: verdana, arial, sans-serif;
    font-size: 11px;
    width: 100%;
    height: 100%;
    color: #FFFFFF;
    background-color: #000000;
}
body {
    font-family: verdana, arial, sans-serif;
    font-size: 11px;
    margin: auto;
    margin-top: 5px;
    margin-bottom: 5px;
    width: 95%;
    height: 100%;
    color: #FFFFFF;
    background-color: #000000;
}
a:link, a:visited, a:active { 
text-decoration: none; 
color: #465584; 
}
a:hover { 
color: #6665A4; 
text-decoration: none; 
}
input, select, option { 
background-color: #c7d1dd; 
font-size: 13px; 
font-family: Courier, Courier New, Verdana, Arial;   
color: #000000;
border: 1px solid #506070;
border-collapse: collapse; 
}
label {
color: #c7d1dd;
font-weight: bold; 
cursor: pointer;
}
table, tr, td { 
width: 100%;
vertical-align: middle;
text-align: center;
}
</style>
</head>

<body>
<table style="height: 100%; vertical-align: middle;">
<tr style="height: 100%; vertical-align: middle;">
    <td style="height: 100%; width: 25%; vertical-align: middle;">
    <form method="get" action="<?php echo $ypapiurl?>">
    <label for="r">Download FLV</label><br />
    <select id="r" name="r" class="TextBox">
    <option value="true">Yes</option>
    <option value="false">No</option>
    </select><br />
    <label for="v">Video ID:</label><br />
    <input type="text" id="v" name="v" /><br />
    <?php if(isset($_GET['ypapiurl'])) { ?>
    <input type="hidden" name="ypapiurl" value="<?php echo $_GET['ypapiurl']; ?>" style="display: none;" />
    <?php if($referurl!=null) { ?>
    <input type="hidden" name="referurl" value="<?php echo $referurl?>" style="display: none;" />
    <?php } } ?>
    <input type="submit" value="Get FLV">&nbsp;&nbsp;&nbsp;<input type="reset">
    <br /><a href="<?php echo $ypapiurl?>api.txt">Source Code</a>
    </form>
    </td><td style="width: 25%; height: 100%; vertical-align: middle;">
    <form method="get" action="<?php echo $ypapiurl?>">
    <label for="q">Search Test:</label><br />
    <input type="text" id="q" name="q" /><br />
    <?php if(isset($_GET['ypapiurl'])) { ?>
    <input type="hidden" name="ypapiurl" value="<?php echo $_GET['ypapiurl']; ?>" style="display: none;" />
    <?php if($referurl!=null) { ?>
    <input type="hidden" name="referurl" value="<?php echo $referurl?>" style="display: none;" />
    <?php } } ?>
    <input type="hidden" name="p" value="1" style="display: none;" />
    <input type="submit" value="Search">&nbsp;&nbsp;&nbsp;<input type="reset">
    <br /><a href="<?php echo $ypapiurl?>api.txt">Source Code</a>
    </form>
    </td>
</tr>
</table>
</body>
</html>
<?php }
if(isset(
$_GET['v'])&&$_GET['v']!=null) {
@
header("Content-Type: application/xml; charset=UTF-8");
function 
get_youtube_video_link($preytid) {
global 
$vsvtitle,$vsthum,$prevtitle;
$opts = array(
  
'http'=>array(
    
'method'=>"GET",
    
'header'=>"Accept-language: en\r\n" 
              
"Cookie: age_check=1; domain=.youporn.com; path=/"
  
)
);
$context stream_context_create($opts);
$filecont file_get_contents("http://youporn.com/watch/".urlencode($preytid),null,$context);
if(
$filecont!=false) {
$prepreg1 preg_quote("so.addVariable('file','","/");
$prepreg2 preg_quote("');","/");
preg_match_all("/".$prepreg1."(.*)".$prepreg2."{1}/isU"$filecont$preytvar);
$flvurl $preytvar[1][0];
$prepreg7 preg_quote("<!--video display area-->","/");
$prepreg8 preg_quote("<!--video player-->","/");
preg_match_all("/".$prepreg7."(.*)".$prepreg8."/isU"$filecont$prevtitle);
$prevtitle $prevtitle[1][0];
$prepreg9 preg_quote("<h1>","/");
$prepreg10 preg_quote("</h1>","/");
preg_match_all("/".$prepreg9."(.*)".$prepreg10."/isU"$prevtitle$prevtitle);
$prevtitle $prevtitle[0][0];
$prepreg11 preg_quote("<img src=\"","/");
$prepreg12 preg_quote("\"","/");
$prepreg14 preg_quote("/>","/");
$prepreg15 preg_quote("</h1>","/");
preg_match_all("/".$prepreg11."(.*)".$prepreg12."(.*)".$prepreg14."(.*)".$prepreg15."/isU"$prevtitle$prevtitle);
$vsthum $prevtitle[1][0]; $vsvtitle trim(strip_tags($prevtitle[3][0]));
return 
$flvurl; } } $vsdesc $vsvtitle;
$vsvtitle htmlspecialchars($vsdescENT_QUOTES"UTF-8");
$prepreg6 preg_quote("<p class=\"duration\">","/");
$prepreg7 preg_quote("</p>","/");
preg_match_all("/".$prepreg6."(.*)".$prepreg7."{1}/isU"$presearch[1][$i], $vspreduration);
$vspreduration explode(" "$vspreduration[1][0]);
$Minute preg_replace("/[0-9]{2}min/isU""\\0"$vspreduration[0]);
$Minute str_replace("min"""$Minute);
$Second preg_replace("/[0-9]{2}sec/isU""\\0"$vspreduration[1]);
$Second str_replace("sec"""$Second);
$TotalSecond = ($Minute 60) + $Second;
$flvurl get_youtube_video_link($_GET['v']);
if(isset(
$_GET['r'])&&$_GET['r']=="true") {
header("Location: ".$flvurl); }
xml_doc_start("1.0","UTF-8");
?>
<youapi>
<?php
echo html_tag_make("item",false,null,null,"\n".
    
html_tag_make("video",false,null,null,$flvurl)."\n".
    
html_tag_make("title",false,null,null,$vsvtitle)."\n".
    
html_tag_make("id",false,null,null,$_GET['v'])."\n".
    
html_tag_make("thumbnail",false,null,null,$vsthum)."\n".
    
html_tag_make("gotovid",false,null,null,$ypapiurl."?v=".$_GET['v']."&amp;r=true")."\n".
    
html_tag_make("url",false,null,null,$ypapiurl."?v=".$_GET['v'])."\n");
echo 
"\n";
?>
</youapi>
<?php }
if(isset(
$_GET['q'])&&$_GET['q']!=null) {
@
header("Content-Type: application/xml; charset=UTF-8");
//htmlspecialchars($_GET['q'], ENT_QUOTES, "UTF-8");
if(!isset($_GET['p'])) { $_GET['p'] = 1; }
if(!
is_numeric($_GET['p'])) { $_GET['p'] = 1; }
if(
$_GET['p']==0) { $_GET['p'] = 1; }
if(
$_GET['q']!=null) {
global 
$youtubetitle;
$opts = array(
  
'http'=>array(
    
'method'=>"GET",
    
'header'=>"Accept-language: en\r\n" 
              
"Cookie: age_check=1; domain=.youporn.com; path=/"
  
)
);
$context stream_context_create($opts);
$filecont file_get_contents("http://www.youporn.com/search?query=".urlencode($_GET['q'])."&page=".$_GET['p'],null,$context);
if(
$filecont!=false) {
$nextpreg preg_quote("Next »</a>","/");
preg_match_all("/".$nextpreg."/isU"$filecont$isnext);
$backpreg preg_quote("« Previous</a>","/");
preg_match_all("/".$backpreg."/isU"$filecont$isback);
if(isset(
$isnext[0][0])&&$isnext[0][0]!=null) { $nextpages true; }
if(isset(
$isnext[0][0])&&$isnext[0][0]==null) { $nextpages false; }
if(!isset(
$isnext[0][0])) { $nextpages false; }
if(isset(
$isback[0][0])&&$isback[0][0]!=null) { $backpages true; }
if(isset(
$isback[0][0])&&$isback[0][0]==null) { $nextpages false; }
if(!isset(
$isback[0][0])) { $backpages false; }
$nextpage $_GET['p'] + 1$backpage $_GET['p'] - 1;
$nextpcode "<a href=\"search.php?tags=".urlencode($_GET['q'])."&amp;page=".$nextpage."\">Next=&gt;</a>";
$backpcode "<a href=\"search.php?tags=".urlencode($_GET['q'])."&amp;page=".$backpage."\">&lt;=Back</a>";
if(
$nextpages==true&&$backpages==true) {
/*echo $backpcode."&nbsp;&nbsp;&nbsp;".$nextpcode;*/ }
if(
$nextpages==true&&$backpages==false) {
/*echo "&lt;=Back&nbsp;&nbsp;&nbsp;".$nextpcode;*/ }
if(
$nextpages==false&&$backpages==true) {
/*echo $backpcode."&nbsp;&nbsp;&nbsp;Next=&gt;";*/ }
$prepreg01 preg_quote("<ul class=\"videorow clearfix\">","/");
$prepreg02 preg_quote("</ul>","/");
preg_match_all("/".$prepreg01."(.*)".$prepreg02."/isU"$filecont$subpresearch);
$ppresearch $subpresearch[1];
$ppresearch implode("\n",$ppresearch);
$ppresearch preg_replace("/".preg_quote("<li class=\"last\">")."/isU""<li>"$ppresearch);
$prepreg1 preg_quote("<li>","/");
$prepreg2 preg_quote("</li>","/");
preg_match_all("/".$prepreg1."(.*)".$prepreg2."/isU"$ppresearch$presearch);
$num=count($presearch[1]);
$i=0xml_doc_start("1.0","UTF-8");
?>
<youapi>
<?php
while ($i $num) {
$prepreg8 preg_quote("<a href=\"/watch/","/");
$prepreg9 preg_quote("\"","/");
preg_match_all("/".$prepreg8."(.*)".$prepreg9."{1}/isU"$presearch[1][$i], $vsvid);
$vsvid $vsvid[1][0];
$prepreg10 preg_quote("<img id=\"","/");
$prepreg11 preg_quote("\" src=\"","/");
$prepreg12 preg_quote("\"","/");
preg_match_all("/".$prepreg10."(.*)".$prepreg11."(.*)".$prepreg12."{1}/isU"$presearch[1][$i], $vsthum);
$vsthum $vsthum[2][0];
$prepreg6 preg_quote("<p class=\"title\">","/");
$prepreg7 preg_quote("</p>","/");
preg_match_all("/".$prepreg6."(.*)".$prepreg7."{1}/isU"$presearch[1][$i], $vspredesc);
$vsdesc trim(strip_tags($vspredesc[1][0])); 
$vsvtitle htmlspecialchars($vsdescENT_QUOTES"UTF-8");
$prepreg6 preg_quote("<p class=\"duration\">","/");
$prepreg7 preg_quote("</p>","/");
preg_match_all("/".$prepreg6."(.*)".$prepreg7."{1}/isU"$presearch[1][$i], $vspreduration);
$vspreduration explode(" "$vspreduration[1][0]);
$Minute preg_replace("/[0-9]{2}min/isU""\\0"$vspreduration[0]);
$Minute str_replace("min"""$Minute);
$Second preg_replace("/[0-9]{2}sec/isU""\\0"$vspreduration[1]);
$Second str_replace("sec"""$Second);
$TotalSecond = ($Minute 60) + $Second;
$inum $i 1;
$rnum $_GET['p'] - 1;
$rnum $rnum 25;
$rnum $rnum $inum;
echo 
html_tag_make("item",false,null,null,"\n".
    
html_tag_make("title",false,null,null,$vsvtitle)."\n".
    
html_tag_make("id",false,null,null,$inum)."\n".
    
html_tag_make("number",false,null,null,$rnum)."\n".
    
html_tag_make("video",false,null,null,$vsvid)."\n".
    
html_tag_make("url",false,null,null,$ypapiurl."?v=".$vsvid)."\n".
    
html_tag_make("gotovid",false,null,null,$ypapiurl."?v=".$vsvid."&amp;r=true")."\n".
    
html_tag_make("thumbnail",false,null,null,$vsthum)."\n".
    
html_tag_make("vidlength",false,null,null,"\n".
    
html_tag_make("minutes",false,null,null,$Minute)."\n".
    
html_tag_make("seconds",false,null,null,$Second)."\n".
    
html_tag_make("time",false,null,null,$Minute.":".$Second)."\n".
    
html_tag_make("duration",false,null,null,$TotalSecond)."\n")."\n");
echo 
"\n";
++
$i; } } }
?>
<page>
<?php
if($nextpages==true) {
echo 
html_tag_make("next",false,null,null,$nextpage)."\n";
echo 
html_tag_make("nextpage",false,null,null,"true")."\n"; }
if(
$nextpages==false) {
echo 
html_tag_make("next",false,null,null,$_GET['p'])."\n";
echo 
html_tag_make("nextpage",false,null,null,"false")."\n"; }
if(
$backpages==true) {
echo 
html_tag_make("previous",false,null,null,$backpage)."\n";
echo 
html_tag_make("previouspage",false,null,null,"true")."\n";}
if(
$backpages==false) {
echo 
html_tag_make("previous",false,null,null,$_GET['p'])."\n";
echo 
html_tag_make("previouspage",false,null,null,"false")."\n"; } 
?>
</page>
</youapi>
<?php ?>
Reply With Quote

  #11  
Old 05-08-2008, 04:04 AM
darionco darionco is offline
Registered User
 
Registered: May 2008
Posts: 54
Quote:
Originally Posted by davinci99 View Post
Thanks for the scripts. Good work. Any chance you could fix tnaflix scripts, they have stopped working.
*** Updated *** Read above.

Quote:
Thanks for fixing the 10 page bug.
No prob

Quote:
Heres the PHP code I use on the server.
I'm attaching the modified versions of your file. Thanks for sharing! you are a Cool Dude 2k!


darionco

Attached Files
File Type: zip servebeer_side.zip (27.1 KB, 187 views)
Reply With Quote

  #12  
Old 05-15-2008, 11:41 PM
jas21 jas21 is offline
Registered User
 
Registered: Aug 2007
Posts: 18
thanks cool dude
Reply With Quote

  #13  
Old 05-17-2008, 04:47 PM
rahilb rahilb is offline
Registered User
 
Registered: Nov 2005
Posts: 174
maybe you can do a xvideos one?
(no xbox live for me!)
Reply With Quote

  #14  
Old 05-17-2008, 11:31 PM
sombra sombra is offline
Registered User
 
Registered: May 2008
Posts: 1
Thanks darionco 4 the Scrips! Good Job!
Reply With Quote

  #15  
Old 05-19-2008, 07:12 PM
Antoniocool Antoniocool is offline
Registered User
 
Registered: Aug 2007
Posts: 64
can someone upload as an attachment here. i cant download from mega...
Reply With Quote

Reply



Thread Tools
Display Modes


You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:04 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.

Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of Maxconsole.net
Copyright © 2009 MAXCONSOLE
All images are protected by the copyright of their respective owners.