Buscador de series por Google
Buscador para encontrar capítulos de vuestras series preferidas (se sirve de google).
Los resultados mostrados estarán ordenados de más reciente a más antigo.
Código fuente:
<table cellpadding="6" style="border: solid #000000 1px; background-color:#ffffdd;"><form method="get" action="/googletv.php"><tr><td>Dominio *</td><td>Serie *</td><td>Temp.</td><td>Cap.</td><td>Calidad</td><td>Ordenar</td></tr><tr><td><input type="text" name="dominio" size="20" maxlength="255" value="megaupload.com" /> </td><td><input type="text" name="serie" size="20" maxlength="255" value="" /></td><td><input type="text" name="temp" size="2" maxlength="2" value="" /></td><td><input type="text" name="cap" size="2" maxlength="2" value="" /></td><td><input type="radio" name="qual" value="all" checked="yes" /> Todas<input type="radio" name="qual" value="hq" /> Sólo alta</td><td><input type="checkbox" name="sort" value="yes" checked="yes" />Sí</td></tr><tr><td><center><i>Dónde buscar</i></center></td><td><center><i>Nombre de serie SIN comillas</i></center></td><td colspan="2"><center><i>opcional</i></center></td><td></td><td>Hace que se omitan algunos resultados</td></tr><tr><td colspan="6" style="text-align:right;"><input type="submit" value="Buscar" /></tr></form></table>archivo googletv.php:
<?php
$domain = $_GET["dominio"];
$serie = $_GET["serie"];
$temp = $_GET["temp"];
$cap = $_GET["cap"];
$qual = $_GET["qual"];
$sort = $_GET["sort"];
$build_url = "http://www.google.com/#hl=en&safe=off&tbo=1";
$s_domain = "site:" . $domain;
$s_serie = """ . $serie . """;
if (!$temp || !$cap)
{
$lastep = 1;
} else {
if ($temp < 10) $temp = "0" . $temp;
if ($cap < 10) $cap = "0" . $cap;
$s_se = ""s" . $temp . "e" . $cap . "" OR "" . round($temp) . "x" . $cap . "" OR " . round($temp) . $cap;
}
if ($qual == "all")
{
$s_qual = "avi OR mkv";
} else {
$s_qual = "mkv OR "720p" OR 720";
}
if ($sort == "yes")
{
$s_sort = "&tbs=rltm:1";
}
$build_url .= $s_sort "&q=" . $s_domain . " " . $s_serie . " " . $s_qual;
if ($laststep != 1) $build_url .= " " . $s_se;
print '<html>
<head>
<meta http-equiv="refresh" content="2;
url=' . $build_url . '">
</head>
<body>
Un segundo...
</body>
</html>';
?>
Publicado bajo Licencia Creative Commons GNU General Public


Comentarios
Enviar un comentario nuevo