This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

URL Title Grabber

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
F
Football
Master
Posts: 205
Joined: Fri Dec 26, 2008 3:08 pm
Location: Quakenet, #Football

URL Title Grabber

Post by Football »

http://www.egghelp.org/cgi-bin/tcl_arch ... ad&id=1473

Can someone make that kind of script, but when a url is written, it will write the description and not the title?

like: http://www.skysports.com/story/0,19528, ... 12,00.html
instead of writting the title which is "Torres offers Owen backing" it will write the 2-3 description lines, which in this case are:

Fernando Torres believes Michael Owen could still cut it at Anfield should Liverpool express an interest in the Newcastle striker.

Thanks..
Idling at #Football, Quakenet.
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

<speechles> !webby http://www.skysports.com/story/0,19528, ... 12,00.html
<sp33chy> Http-Package misdetection: iso8859-1.. disregarding, using proper site encoding: utf-8
<sp33chy> Sky Sports | Football | Premier League | News | Torres offers Owen backing ( http://u.nu/7gxk )( 200; text/html; utf-8; 101088 bytes )
<sp33chy> Fernando Torres believes Michael Owen could still cut it at Anfield should Liverpool express an interest.

<speechles> !webby egghelp.org
<sp33chy> egghelp.org ( http://u.nu/9hxk )( 200; text/html; iso8859-1; 13216 bytes; 1 redirects )
<sp33chy> Information on eggdrop bots, shell accounts, and tcl scripts.
Webby can do this and more than that. You may never need half of the available things webby can do. They are there if you ever decide to use them though. This is webby running in it's most simplest mode given merely a url. Notice as well that it will properly encode languages and can even spot http-package encoding flaws and attempt to correct them. This should work for any language you try it on. If it mangles the character set than it should be reported by webby that the http package flaw is doing so. You can also disable this error message from showing if it annoys you. If it still doesn't look correct and webby isn't reporting an http-package flaw we can safely assume eggdrop's inability to handle accented latin characters when dealing with iso8859-1 or utf-8 is the culprit. Enjoy the script and v1.3 ;)
F
Football
Master
Posts: 205
Joined: Fri Dec 26, 2008 3:08 pm
Location: Quakenet, #Football

Post by Football »

Thanks a lot, a very useful script indeed.
Any chance you could script this aswell:

A trigger that will allow users to !Stream <Team/Competition> Here, and it will search these websites:


www.myp2p.eu * www.atdhe.net * www.livefooty.doctor-serv.com * www.footballstreaming.info/streams/todays-links/ * www.footballlive9.blogspot.com * www.worldtvpc.com/live/ * www.nkora.com * www.lfc-tv.co.uk


For the upcomnig stream for that result, and output it.
If there isn't any, it will say so.


That would be EXTREMLEY helpful
Idling at #Football, Quakenet.
Post Reply