| View previous topic :: View next topic |
| Author |
Message |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Aug 12, 2007 11:38 am Post subject: |
|
|
| Care to post details? What did you do to break it? |
|
| Back to top |
|
 |
LivingSouL Voice

Joined: 04 May 2007 Posts: 15 Location: Davao
|
Posted: Sun Dec 09, 2007 11:14 am Post subject: |
|
|
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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Dec 09, 2007 3:28 pm Post subject: |
|
|
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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Mon Dec 10, 2007 6:35 am Post subject: |
|
|
| 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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Mon Dec 10, 2007 8:56 am Post subject: v0.01d release |
|
|
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.  |
|
| Back to top |
|
 |
|