![]() |
|
|
#1 |
|
Yes! I am invincible!
![]() Fecha de Ingreso: febrero-2009
Ubicación: Infierno
Amigos 32
Mensajes: 2.423
Gracias: 0
Agradecido 161 veces en 116 mensajes.
|
Un buscador de sueños en Ruby
Código:
#!usr/bin/ruby
#Buscador de sueños 0.1
#Coded By Doddy H
require "net/http"
def head()
print "\n\n-- == Buscador de sueños == --\n\n"
end
def copyright()
print "\n\n(C) Doddy Hackman 2012\n\n"
gets.chomp
exit(1)
end
def toma(web)
return Net::HTTP.get_response(URI.parse(web)).body
end
head()
print "\n[+] Texto : "
string = gets.chomp
url = "http://www.mis-suenos.org/interpretaciones/buscar?text="+string
code = toma(url)
if code=~/<li>(.*)<\/li>/
text = $1
if text == " "
print "\n\n[-] No encontrado"
else
print "\n\n[+] Significado : "+text
end
end
copyright()
#The End ?
|
|
|
|
![]() |
| Herramientas | |
| Desplegado | |
|
|

Temas Similares
|
||||
| Tema | Autor | Foro | Respuestas | Último mensaje |
| Ni en tus sueños [2010] [DvdRip] [Español Latino] [LB] | likesoldier | Peliculas | 0 | 09-feb-2012 18:20 |
| Conocerás al hombre de tus sueños [DVDrip][Castellano][Drama][2010] | Xilef000 | Peliculas | 0 | 25-nov-2011 15:11 |
| Conocerás al hombre de tus sueños [Dvdrip][Castellano][Drama] | chekos2020 | Peliculas | 0 | 29-nov-2010 14:13 |
| Conocerás al hombre de tus sueños [2010] [CAM] [Español] | domains | Peliculas | 2 | 14-sep-2010 10:11 |