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 

imdb-1.1.0.tcl help please
Goto page Previous  1, 2, 3 ... 7, 8, 9 ... 19, 20, 21  Next
 
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: Mon Feb 19, 2007 10:21 pm    Post subject: Reply with quote

Well, that took a while :^)

Fixed copy here:
http://members.dandy.net/~fbn/imdb.2112.tcl.txt
Back to top
View user's profile Send private message
Ace-T
Halfop


Joined: 29 Aug 2006
Posts: 82

PostPosted: Tue Feb 20, 2007 2:07 pm    Post subject: Reply with quote

great job, works great Smile
Back to top
View user's profile Send private message
bast
Voice


Joined: 07 Oct 2006
Posts: 37

PostPosted: Tue Feb 20, 2007 7:04 pm    Post subject: Reply with quote

Hmm. i cant get it to work. with the http package.
Only the old one with curl.
Im using windrop v1.6.17 if that to any help.
Something i need to do with the http? of it might no work with windrop?
I havent changed annything in the script exceppt for the chans.
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Tue Feb 20, 2007 8:36 pm    Post subject: Reply with quote

Give me the output of .set errorInfo, that might have some clues about why it's not working.. I don't have a windows platform to test with and as you know, I took out the curl junk, but it shouldn't be all that hard to add it back in if you feel adventurous :^) Or even "diff" the 2 versions and apply my changes to the older version. The only significant changes in my most recent copy are regexp changes and some minor tweaking in how the results are formatted. If you fix the regexp stuff, then the old script will work again.

Maybe OV2 will apply my changes to the "official" copy he's maintaining =)
Back to top
View user's profile Send private message
bast
Voice


Joined: 07 Oct 2006
Posts: 37

PostPosted: Tue Feb 20, 2007 9:50 pm    Post subject: Reply with quote

it dosent show any error message at all. it just dosent want to work.
And the change thingy, well i think i skip that hehe, caus i dont know a thing about scripting. Very Happy
So my hope it to those who can, and want to fix a version with the curl. =)
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Wed Feb 21, 2007 2:12 am    Post subject: Reply with quote

OK OK, I added the curl junk back in (it really wasn't that hard to do..) Same url as above. I tested it on my linux platform, it works for me..If it doesn't work in windrop, there's not much I can do, I can't test/debug for win.
Back to top
View user's profile Send private message
bast
Voice


Joined: 07 Oct 2006
Posts: 37

PostPosted: Wed Feb 21, 2007 3:01 am    Post subject: Reply with quote

nice. all works eccept for one thing.
Could you add blowfish support to it? =)
Cant get it to work even if i use mcpsfuncs.tcl
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Wed Feb 21, 2007 12:46 pm    Post subject: Reply with quote

Why would an imdb script need blowfish, and what the f is mcpsfuncs.tcl?
Back to top
View user's profile Send private message
w00f
Halfop


Joined: 04 Oct 2006
Posts: 49

PostPosted: Wed Feb 21, 2007 1:07 pm    Post subject: Reply with quote

tnks rosc2112 , works perfect ;)

@bast just use a blowcrypt , and will work fine.

mcpsfuncs.tcl i think it's the blowcrypt that bast is using , idk nothing bout that blowcrypt, but with that name i think that crypt only binds mcps , a good blowcrypt bind "everything", i.e: +OK , mcps.
but as i said , idk nothing bout that mcpsfuncs.tcl , i don't even know if actually is a blowcrypt lol.

once again , tnks for the update rosc :D
Back to top
View user's profile Send private message
OV2
Voice


Joined: 21 Jan 2006
Posts: 35

PostPosted: Wed Feb 21, 2007 4:01 pm    Post subject: Reply with quote

Hi there,

@rosc2112: I've already fixed the regexp queries for the new imdb layout (I only found this thread just now), but I'll try to put in the rest of the changes.
And it's not really an "official" version since I simply modified bounty's script Smile

On a side note: CURL is not necessary for windrop - I'm using the http package with windrop 1.6.18


EDIT:
Quote:
May 25 2006 - Added number of openings, 1st weekend gross profits, opening date
did you remove them in later versions?
Back to top
View user's profile Send private message Visit poster's website
JAFO
Voice


Joined: 13 Oct 2005
Posts: 19

PostPosted: Wed Feb 21, 2007 9:01 pm    Post subject: Reply with quote

@bast

Just change
Code:
set imdburl "http://www.imdb.com"


into
Code:
set imdburl "http://former.imdb.com"


I did and works Smile

Code:
<~JAFO> !imdb Willy Wonka & the Chocolate Factory
<@NFOrce> Willy Wonka & the Chocolate Factory (1971) - http://former.imdb.com/title/tt0067992/
<@NFOrce> Genre: Family / Musical / Fantasy / Comedy
<@NFOrce> Tagline: It's everybody's non-pollutionary, anti-institutionary, pro-confectionery factory of fun!
<@NFOrce> Plot: A poor boy wins the oppurtunity to tour the most eccentric and wonderful candy factory of all.
<@NFOrce> Rating:  7.7/10 (25,906 votes) [********--]  top/bottom:N/A
<@NFOrce> Runtime:  100 mins.
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Wed Feb 21, 2007 11:27 pm    Post subject: Reply with quote

That'll only work in certain situations:
Code:

               set newurl "$imdburl/title/$ttcode/"
               # get the page redirected to
or
               # if no redirect happened, then get first page on match

I tested switching the searchurl to the former.imdb.com pages and had problems with that, and then, who knows how long the former pages will be available, so fix it properly to work with the new format.
Back to top
View user's profile Send private message
rosc2112
Revered One


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

PostPosted: Thu Feb 22, 2007 12:54 am    Post subject: Reply with quote

OV2 wrote:

@rosc2112: I've already fixed the regexp queries for the new imdb layout

Ahh I didn't know there was an update. I suppose I should've looked. Please repost your url so I don't hafta look at the previous pages in the thread? =)
Quote:

Quote:
May 25 2006 - Added number of openings, 1st weekend gross profits, opening date
did you remove them in later versions?

I had to go back in this thread's history to remember, I don't know if I remember correctly, but I think what I added was data in the %screens output (eg, the gross profit and date):

screens: $35,906,661 (USA) (2 February 1997) (2 screens)

Or maybe the %screens part wasn't working at all, I can't remember now what I added/fixed in that part (I don't keep older versions of this script, since I'm not officially maintaining it.) I changed the note in my copy to say "Added 1st weekend gross profits and opening date to %screens (number of openings)" since the note is confusing.
Back to top
View user's profile Send private message
OV2
Voice


Joined: 21 Jan 2006
Posts: 35

PostPosted: Thu Feb 22, 2007 11:08 am    Post subject: Reply with quote

URL:
http://overfiend.sessionclan.de/scripts/imdb.html

I've included your geturl catches and changed the %screens var so that it'll ouput the whole line. I'm working on some of the bugs mentioned earlier in this thread - we'll see if I manage to fix them Cool
Back to top
View user's profile Send private message Visit poster's website
bast
Voice


Joined: 07 Oct 2006
Posts: 37

PostPosted: Thu Feb 22, 2007 6:51 pm    Post subject: Reply with quote

w00f wrote:
tnks rosc2112 , works perfect Wink

@bast just use a blowcrypt , and will work fine.


Thanks w00f, now it did work. Very Happy
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, 3 ... 7, 8, 9 ... 19, 20, 21  Next
Page 8 of 21

 
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