[Résolu] récupérer texte dans page html
#4
I've just tried and tested first code on a bot. (eggdrop1.8 , Tcl 8.6.4 )

I uploaded script in to my bot/scripts and added source scripts/radioking.tcl line into my bot's .conf file:
http://i.imgur.com/vV6Bs8S.png

then i've connected to my bot via telnet
and i typed .rehash first:
http://i.imgur.com/F6Johz8.png

then to activate this script on a #channel,
.chanset #channel +radioking
http://i.imgur.com/f0ltoqi.png

and my bot started posting new songs on #channel
like you've wanted if i understood your request correct before.
http://i.imgur.com/lwe9Ns4.png

These radioking links has https needs tls ,
if you've .tcl .set commands enabled on your bot's .conf ,
.tcl package present tls
to check if it could see this package.

this : .tcl package present tls command should return tls version.
if it doesn't return any value and if you've already installed this,
you could try to add a line like:
lappend ::auto_path /path/to/tls

right before the : package require tls
or you can add this on bot's .conf
this may help to find this tls package has been located on the system.
Répondre Avertir


Messages dans ce sujet
récupérer texte dans page html - par BrYcOu - 16/09/2015, 13:56
RE: récupérer texte dans page html - par heartbroken - 19/09/2015, 16:40

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté