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

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
|
| Back to top |
|
 |
Ace-T Halfop
Joined: 29 Aug 2006 Posts: 82
|
Posted: Tue Feb 20, 2007 2:07 pm Post subject: |
|
|
great job, works great  |
|
| Back to top |
|
 |
bast Voice
Joined: 07 Oct 2006 Posts: 37
|
Posted: Tue Feb 20, 2007 7:04 pm Post subject: |
|
|
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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Tue Feb 20, 2007 8:36 pm Post subject: |
|
|
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 |
|
 |
bast Voice
Joined: 07 Oct 2006 Posts: 37
|
Posted: Tue Feb 20, 2007 9:50 pm Post subject: |
|
|
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.
So my hope it to those who can, and want to fix a version with the curl. =) |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed Feb 21, 2007 2:12 am Post subject: |
|
|
| 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 |
|
 |
bast Voice
Joined: 07 Oct 2006 Posts: 37
|
Posted: Wed Feb 21, 2007 3:01 am Post subject: |
|
|
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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed Feb 21, 2007 12:46 pm Post subject: |
|
|
| Why would an imdb script need blowfish, and what the f is mcpsfuncs.tcl? |
|
| Back to top |
|
 |
w00f Halfop
Joined: 04 Oct 2006 Posts: 49
|
Posted: Wed Feb 21, 2007 1:07 pm Post subject: |
|
|
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 |
|
 |
OV2 Voice
Joined: 21 Jan 2006 Posts: 35
|
Posted: Wed Feb 21, 2007 4:01 pm Post subject: |
|
|
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: | Quote: | | May 25 2006 - Added number of openings, 1st weekend gross profits, opening date | did you remove them in later versions? |
|
| Back to top |
|
 |
JAFO Voice
Joined: 13 Oct 2005 Posts: 19
|
Posted: Wed Feb 21, 2007 9:01 pm Post subject: |
|
|
@bast
Just change | Code: | | set imdburl "http://www.imdb.com" |
into | Code: | | set imdburl "http://former.imdb.com" |
I did and works
| 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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed Feb 21, 2007 11:27 pm Post subject: |
|
|
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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Thu Feb 22, 2007 12:54 am Post subject: |
|
|
| 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 |
|
 |
OV2 Voice
Joined: 21 Jan 2006 Posts: 35
|
Posted: Thu Feb 22, 2007 11:08 am Post subject: |
|
|
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  |
|
| Back to top |
|
 |
bast Voice
Joined: 07 Oct 2006 Posts: 37
|
Posted: Thu Feb 22, 2007 6:51 pm Post subject: |
|
|
| w00f wrote: | tnks rosc2112 , works perfect
@bast just use a blowcrypt , and will work fine.
|
Thanks w00f, now it did work.  |
|
| Back to top |
|
 |
|