egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Announce: movies.tcl
Goto page Previous  1, 2
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Aug 12, 2007 11:38 am    Post subject: Reply with quote

Care to post details? What did you do to break it?
Back to top
View user's profile Send private message
LivingSouL
Voice


Joined: 04 May 2007
Posts: 15
Location: Davao

PostPosted: Sun Dec 09, 2007 11:14 am    Post subject: Reply with quote

Hello...

I've tried my best to modify the script for this site http://www.nccc.com.ph/cinema/ but the bot didnt return any results:

Code:

[23:22] <LivingSouL> .movies now
[23:22] <DavaoCurrentAffairs> Movies Now Playing:
[23:22] <DavaoCurrentAffairs> [End of Movies Now Playing]


I dont know if I did this right.. a help would be appreciated.. thanks
Code:

        if {$command == "" || $command == "now"} {
                set regexm {<div id="nowshowing">.*?<td valign='top'>(.*?)</td>}

Code:

                regsub -all {<a href.*?>} $moviedata {} moviedata
                regsub -all {</a>} $moviedata {} moviedata
                set movienames [regexp -all -inline {<div class='h1'>(.*?)</div>} $moviedata]
                regsub -all {<div class='h1'>.*?</div>} $movienames {} movienames
 


Could you guys help me? Thanks
_________________
http://www.chatx.net
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Dec 09, 2007 3:28 pm    Post subject: Reply with quote

Was it really necessary to double post?

If you're going to take my script and modify it, you'd best learn regexp. If you had asked me to make a script for that site, I might've been glad to do it. This just cheeses me off and makes me not so inclined to "help."

I've modified plenty of scripts when they were broken or lacked functionality, but I *DON'T* come here and ask for help modifying other peoples scripts (I learn to do it myself.)

Maybe I'm just being grumpy...
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Dec 10, 2007 6:35 am    Post subject: Reply with quote

ge0x wrote:
is it still working
not here


The website now redirects from www.filmspot.com to www.movietome.com. Just change the url in the script, then it'll work.

I've uploaded a fixed version to the archive and my link in the 1st post.

Sorry I didn't see this sooner =)
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Dec 10, 2007 8:56 am    Post subject: v0.01d release Reply with quote

Ahh, I spoke too soon. After actually looking at the data being returned, I had to do a little regexp fixin, so NOW it's all working again. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber