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.

imdb-1.1.0.tcl help please

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Well, that took a while :^)

Fixed copy here:
http://members.dandy.net/~fbn/imdb.2112.tcl.txt
A
Ace-T
Halfop
Posts: 82
Joined: Tue Aug 29, 2006 7:25 am

Post by Ace-T »

great job, works great :)
b
bast
Voice
Posts: 37
Joined: Sat Oct 07, 2006 10:24 pm

Post by bast »

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.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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 =)
b
bast
Voice
Posts: 37
Joined: Sat Oct 07, 2006 10:24 pm

Post by bast »

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. :D
So my hope it to those who can, and want to fix a version with the curl. =)
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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.
b
bast
Voice
Posts: 37
Joined: Sat Oct 07, 2006 10:24 pm

Post by bast »

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
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Why would an imdb script need blowfish, and what the f is mcpsfuncs.tcl?
w
w00f
Halfop
Posts: 49
Joined: Wed Oct 04, 2006 6:50 pm

Post by w00f »

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
O
OV2
Voice
Posts: 35
Joined: Sat Jan 21, 2006 3:54 pm
Contact:

Post by OV2 »

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 :)

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


EDIT:
May 25 2006 - Added number of openings, 1st weekend gross profits, opening date
did you remove them in later versions?
J
JAFO
Voice
Posts: 19
Joined: Thu Oct 13, 2005 1:18 pm

Post by JAFO »

@bast

Just change

Code: Select all

set imdburl "http://www.imdb.com"
into

Code: Select all

set imdburl "http://former.imdb.com"
I did and works :)

Code: Select all

<~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.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

That'll only work in certain situations:

Code: Select all

               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.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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? =)
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.
O
OV2
Voice
Posts: 35
Joined: Sat Jan 21, 2006 3:54 pm
Contact:

Post by OV2 »

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 8)
b
bast
Voice
Posts: 37
Joined: Sat Oct 07, 2006 10:24 pm

Post by bast »

w00f wrote:tnks rosc2112 , works perfect ;)

@bast just use a blowcrypt , and will work fine.
Thanks w00f, now it did work. :D
Post Reply