Please Disable Ad-Block To View This Website.If you block ads, this site can not survive!Ads are very minimal for registered users. If you don't have an account please register now!
Full Scripts
Snippets
DLLs
MTS Themes
Tutorials
Misc.
File Queue
INTERACT
Screenshots
Challenge
Submit Form
Forums

SEARCH
Site Search

FRIENDS

Average Rating:   9.3   IMDb Movie Search v2.05 by MEiJ
Description: Addon for a bot (or anyone for that matter), allowing people to search the IMDb for movies.

Review
This is a nice addon. It allows you to search the IMDb by typing a trigger into a channel, and will return the result(s). It works quite well, however I was a bit confused at first because the readme file doesnt describe how to use the flags for the trigger. When typing !list into a channel, it will tell you how to use the flags, this is minor, but I would have used a different trigger.

As I said, it works well, but my only suggestion would be to tell the user if more movies are found (when not specifying the -n flag), so they can view more results. Otherwise, it is a fine addon.

Reviewed by nix2k
 October 16th, 2010: v2.05 - Fixed parsing errors. January 11th, 2010: v2.04 - Fixed parsing errors. March 14th, 2009: v2.03 - Fixed parsing errors. October 25th, 2008: v2.02 - Fixed parsing errors. July 7th, 2008: v2.01 - No longer requires mIRC 6.17 or newer, but anything older will not be supported. - Fixed 'country' cookie typeo. - Fixed line 236 $iif error. - Fixed saving of themes. - Fixed re-ordering of themes with 10 or more lines. - Fixed a bug when using this script in combination with FiSH. - Fixed genre seperators to use forward slashes. - Plus some smaller changes not worth listing. April 1st, 2008: v2.0 - Requires mIRC 6.17 or newer now. - Recoded & cleaned up large portions of the script. - Added the ability to search using imdb urls directly. (ie: !imdb http://www.imdb.com/...) - Added the option to report results to channel as a notice. - Added IMDb dialog icon. - Added Box Office/Screens information. This can be displayed by either using the '-b' flag or permanently by checking the option in the configurations dialog. - Added Matching option. The new '-m' flag will toggle between exact and popular searching. You can also permanently toggle this option in the configuration dialog. The new flag will always change the type of search being performed based on what configuration option is set. - Added 'year' cookie to the movie information. - Added extra information to titles (ie: TV series, VG, etc..). - Added ability to make cookies return nothing rather than n/a (eg: &!opening_weekend_screens^ for example wont display anything if we havent got the box office information). - Added per-channel flood protection. - Fixed director cookie. - Changed http Connection header to close. - Changed the configuration dialog. - Changed the parsing of options. Now uses the format '!trigger -bm '. The old format is still supported. - Removed old version history. March 1st, 2008: v1.92 - added a cast cookie to movie info. outputs the first 3 names by default, this can be changed in the imdb.set file (look for the maxcast setting). January 2nd, 2008: v1.91 - fixed small regexp problem, should be working again now. July 3rd, 2007: v1.9 - fixed to work with imdb.com's layout changes - changed script to use HTTP 1.0 so we dont receive chunked data. February 21st, 2007: v1.8 - fixed to work with imdb.com's layout changes August 22nd, 2005: v1.7 - removed random string from the rating_extra cookie. April 7th, 2005: v1.6 - added error checking and reporting for the$bfind error. - fixed small typo February 26th, 2005: v1.5 - added &year^ alias to list cookies - fixed bug in reading the 'Location:' header - fixed code to parse imdb.com's layout changes correctly v1.4 - fixed a little binvar bug. - fixed _say alias to not message blank lines - removed useless variable from error January 31st, 2005: v1.3 - fixed a bug with checking the correct trigger was typed. January 24th, 2005: v1.2 - updated script to work with imdb's html changes - added 'max' setting in the .ini file, lets you limit all searchs to echo only the first N results. prevents flooders abusing the bot (default: 10). November 21st, 2004: v1.1 - fixed _ban alias error and on text triggers not working for some people. - fixed 404 error with malformed urls (blame my isps web proxy for making me not realise) - rearranged html parsing routines - added error output to show http errors October 17th, 2004: v1.0 - rewrote roughly 90% of the script - pretty much 100% customisable - banning host / ip's from searching - full multinetwork support - much more output avalable (total gross and screens not yet done, ill add that later) - translates pretty much all html entitys into their respective characters - added option to search for cast / crew - should be much more robust - removed old version history (who cares the old versions all sucked anyway) September 2nd, 2003: v0.5 - slight layout change - new using imdb.com's new search so it works again! - now able to search yourself! - added version check when installing the script - removed useless code - added a few new option's - new dialog box - added the ability to !imdb - encodes url properly - displays full movie url's, no more shortcut's (there not much shorter anyway) v0.4 - fixed a few things - fixed error in instructions on how to install - added support for http proxy's (untested, should work) April 28th, 2003: v0.3 - Configuration dialog - Configure the script for specific channels - Works once again (if this was to stop working again, you wouldnt need to do much to get it working again) - Choice of how to respond - Ability to change the trigger - Heaps of small changes - Uses Binary Variables
 Screenshot:

 Mode: Nested, Expand AllFlat, Expand First Create New Post

 learning Apr 11, 2012 2:57PM
TheArkive script doesn't work on my mIRC 6.16
mruno title fix works, but no rating and cast.
I used mruno title fix, and fix rating cast

Looks like for some series, like game of thrones, title fails on my 6.16

http://pastebin.com/BcJCw5T9

 learning Apr 14, 2012 1:35AM
changed title fix
http://pastebin.com/2F1YSELR

you need to remove &year from
/_imdb - Themes
or will appear a blank (),
the year will appear in title

tested on mirc 6.16

 mruno Apr 15, 2012 11:59AM
awesome work guys. nice support here. i was about to work on it myself.

found a bug tho:
[IMDb] The Wire (TV Series 20022008)
i will see if i can fix

do the same as listed above:
you need to remove &year from
/_imdb - Themes
or will appear a blank (),
the year will appear in title

EDIT:
fixed and here is another fix removing some non-characters from the title:
http://pastebin.com/FHJfUVm6

Text edited by author on Apr 18, 2012 @ 10:10PM

 musebaby Mar 24, 2012 8:33AM

 mruno Apr 7, 2012 5:53PM
try this: http://pastebin.com/JrTb2Rsv

Text edited by author on Apr 7, 2012 @ 7:17PM

 TheArkive Jan 7, 2012 10:10PM
Rating:     9I love this script. It was fun to play with. I got the Cast to fill out properly.

Search the MRC file for "TheArkive" and you can see all the changes I made. The regex expression wasn't finding anything with only an 850 character buffer. So I increased the buffer to 2000 and it almost worked. After I did that it was pulling the character names instead of the actor's names. Since i suck at regex (but I still can do binary variables) I did my version of filtering and managed to get the actor's names to display properly. I haven't tested all aspects of it yet, but the basic !trigger *search_line* function works great!

Thanks for the script!

 play4free2 Jun 10, 2011 5:47PM
Rating:     9I am using the latest version posted here with no changes to the remote. What I did for a quick fix was, I went into the settings /_imdb under and the Theme tab set the drop down to Movie and removed the cast line out of it.

Hope this will help everyone until there is an update to the addon.

Thanks MEiJ for a cool addon :)

 learning Jun 26, 2011 11:24PM
the imdb website has been made some changes recently again

 learning Jan 28, 2011 10:18PM

* Identifier not found: $sn (line 89, imdb.mrc) = _cleanup$sn

 learning Dec 29, 2010 10:04PM
Rating:     10I think imdb changed something on Cast session recently, because it was not working anymore.

Edit:
Addon is working, but Cast is blank.

Text edited by author on Jan 5, 2011 @ 4:37PM

 isildur Oct 9, 2010 7:36AM
a small fix for those of you who want it

search for this line:

_sset %sn url $gettok($regml(1), 1, 63)

and replace it with

_sset %sn url $gettok($regml(1), 1, 63) $+ combined _sset %sn url1$gettok($regml(1), 1, 63) search for: var %url =$_sget(%sn, url)

and replace it with

%url = $_sget(%sn, url1) [/b[ hope this is useful to some...  learning Oct 12, 2010 2:55AM I made these changes and still didn't work here  StephanieLoveful Oct 14, 2010 2:20AM "search for: var %url =$_sget(%sn, url)
and replace it with
%url = $_sget(%sn, url1) [/b[" You probably will not be as stupid as me.. For replacing the second code ONLY USE %url =$_sget(%sn, url1)

Thank you.

Edit:
nontheless it still doesn't work *sniff*
- [IMDb] Error: Invalid URL!

Text edited by author on Oct 14, 2010 @ 2:30AM

 learning Oct 15, 2010 8:51PM
Here is how my code is:

_sset %sn url $gettok($regml(1), 1, 63) $+ _sset %sn url1$gettok($regml(1), 1, 63) instead of _sset %sn url$gettok($regml(1), 1, 63) and %url =$_sget(%sn, url1) instead of var %url = $_sget(%sn, url)  MEiJ Oct 15, 2010 10:56PM Probably should of looked at this before I updated the script ;\. The script has been updated for the new design, no doubt they'll updated the design again next week..... Also just realised i've got the wrong movie cookie names for 'genres' and 'taglines', they should be singular. ie: genre and tagline.  learning Oct 16, 2010 6:31PM Thank You very much MEiJ  StephanieLoveful Oct 14, 2010 2:20AM edited. Text edited by author on Oct 14, 2010 @ 2:21AM  isildur Oct 7, 2010 2:40PM Rating: 10hey meij... imdb updated design again... can you give us an update please ;) please msg me on irc... you know where to find me...  VinX Jun 18, 2010 1:27PM <3 thanks  roshi Mar 7, 2010 4:20PM Rating: 10Hello MEiJ Did u noticed that all Box Office commands arent working? or maybe i'm doing something wrong &b^Box Office&b^: &opening_weekend_value^ (&opening_weekend_region^) (&opening_weekend_screens^ screens) (&opening_weekend_date^) this one doesnt work  isildur Jan 8, 2010 9:37AM hey - imdb updated again - can ou fix meij :) please msg me on irc :)  GregoryRasputin Aug 1, 2009 8:48AM Rating: 10Great script.  x21 Feb 16, 2009 1:03PM I love this script, and i just recently updated to this version, but it has some serious bugs, at least on my pc. First of all, it lists every movie twice, second, the settings are all messed up, it doesn't save them normally. Thx. K, i fixed it somehow... settings are still strange a bit.. Text edited by author on Feb 16, 2009 @ 1:09PM  irieting Oct 28, 2008 12:19PM Rating: 10thx 4 updating  bigtecky Dec 8, 2008 7:19PM is it possible to add the type of the movie like STV or CINE ?  sohun Oct 14, 2008 1:18PM rating doesnt work :|  isildur Sep 16, 2008 3:11PM heeey... imdb changed layout again... now rating and votes not working... can ya make a fix.. thx in advanced... Text edited by author on Sep 16, 2008 @ 3:31PM  sc0tsman Aug 24, 2008 1:33PM Awesome script MeiJ can I ask 1 small question though, is there anyway I can strip out the bold text as my web based chat does not receive the "bold" txt properly :( Again many thx Text edited by author on Aug 25, 2008 @ 7:02AM  isildur Sep 16, 2008 3:04PM heeey.. just do /_imdb and remove the &b^ those means BOLD  gatgame Aug 16, 2008 5:38PM thanks. a lil help here... If I trigger !imdb Ratatouille.2007-more I want to edit the script to return title of a movie removing any character not part of the title & not "[IMDb] No results found for: ratatouille.2007-more." I assume its in the regex coding but am at a loss. Thanks  CastorTroy Jun 2, 2008 4:31AM when trying to use the switches (-c -lN -b -m) .. I get this error * Invalid format:$iif (line 236, imdb.mrc)

any help ?

thx :P

 MEiJ Jul 6, 2008 2:24PM
Sorry I have actually had a fix for this for quite a while, but had forgotten all about it.

Someone reminded me about it via email and I've uploaded it. As of v2.01 this problem should be fixed.

 brindyman Apr 9, 2008 3:59AM
hey guys

thanks for creating such a awesome script

i would like to have it so it only appears in peoples indent part so when they do the !imdb *** it put its in the room like a whisper but no one else can see it

i would also like to change the output a bit as dont really want the whole lot

is it possible to just have the below:

Name of Movie
Rating

Thanks guys much appreciated

Text edited by author on Apr 9, 2008 @ 4:00AM

 MEiJ Apr 9, 2008 11:41AM
Not quite sure what you mean with how you want it to be messaged, but there is a config dialog: /_imdb. That lets you chance the message mode, and what information is displayed.

 clovergz Apr 5, 2008 12:04AM
anyone have any suggestions every time i try to load the script /load -rs imdb.mrc it just tells me... IMDb Movie Search v2.0, Successfully unloaded. i get that message after i try to load any suggestions would be helpful thank you

 MEiJ Apr 5, 2008 2:06AM
If you're running mIRC 6.16 or older you'll need to update to 6.17 or newer.
There also is a logic error which is unloading the script on mIRC 6.17.

If you're running IMDb Movie Search v2.0 with mIRC 6.17 change the line:

if ($version <= 6.17) { to: if ($version < 6.17) {

 Grebby Mar 18, 2008 4:15AM
For some reason the director part isnt working for me.

�01:13:57AM� <@Grebby> !imdb Batman Returns
�01:14:01AM� <@Grebby> [IMDb] Batman Returns (1992) � http://www.imdb.com/title/tt0103776/ �
�01:14:03AM� <@Grebby> Genre: Action / Crime / Fantasy / Thriller
�01:14:05AM� <@Grebby> Cast: Michael Keaton, Danny DeVito, Michelle Pfeiffer, ...
�01:14:07AM� <@Grebby> Plot Outline: When a corrupt businessman and the grotesque Penguin plot to take control of Gotham City, only Batman can stop them, while the Catwoman has her own agenda.
�01:14:09AM� <@Grebby> Tagline: The Bat, the Cat, the Penguin
�01:14:11AM� <@Grebby> Rating: [**********] 6.8/10 (50,290 votes)
�01:14:13AM� <@Grebby> Runtime: 126 min

and I have this in the movies section

[&b^IMDb&b^] &b^&title^&b^ � &url^ �
&b^Directed By&b^: &directed_by^
&b^Genre&b^: &genre^
&b^Cast&b^: &cast^
&b^Plot Outline&b^: &plot_outline^
&b^Tagline&b^: &tagline^
&b^Runtime&b^: &runtime^

Can someone help me out? :D

 MEiJ Mar 18, 2008 8:20AM
yeah this has already been fixed in the version I'm currently working on.

If you're interested i just finished up a beta that i need a few people to test, so far it seems pretty stable. Send me a pmsg/email/or jump on the IRC channel i mentioned a post or so down if you are.

Text edited by author on Mar 18, 2008 @ 12:11PM

 MEiJ Mar 11, 2008 3:22PM
I'm currently working on v2.0 of the script.

If you have suggestions/requests just post them here or join #parse on EFnet.

 yankssuck Feb 29, 2008 10:15PM

 MEiJ Feb 22, 2008 2:13AM
Ok, i went to update the version number (which i forgot to do last time) without re-uploading the script and it seems I've broken something. Ill upload the file again when i am able too.

Edit: All fixed.

Text edited by author on Mar 1, 2008 @ 10:44PM

 coolguy1 Feb 27, 2008 5:24PM
How do you get cast info?
I would like in this format..

Titanic (1997) (http://www.imdb.com/title/tt0120338/)
Cast: Leonardo DiCaprio, Kate Winslet
Genre: Drama / Romance
Tagline: A woman's heart is a deep ocean of secrets

 MEiJ Jan 1, 2008 8:33AM
Updated to 1.91, forgot to change the version.

Should be working again hopefully, i didn't test it extensively if you have problems just post and ill check them out.

 coolguy1 Jan 6, 2008 2:12PM
Thanks!! :)

One more thing...

How do you get cast info?
I would like in this format..

Titanic (1997) (http://www.imdb.com/title/tt0120338/)
Cast: Leonardo DiCaprio, Kate Winslet
Genre: Drama / Romance
Tagline: A woman's heart is a deep ocean of secrets

 x21 Dec 3, 2007 7:25PM
Rating:     5dont work fine... !imdb dexter

someone can send the versio 1.8, its much better...
send to mail: unforgiving \a\ walla \d\ com thks

 coolguy1 Sep 15, 2007 9:53AM
Pls update the script.. it is not working w/ new latest movies. Thanks!!

 coolguy1 Jul 3, 2007 7:32PM
Thanks for Fixing script..

<x> !movie ratatouille

For some reason some movies not coming up?

Text edited by author on Jul 4, 2007 @ 2:26AM

 MEiJ Jul 4, 2007 2:44AM
ill check it out

 coolguy1 Jul 4, 2007 3:02AM
Thanks :)

One more thing...

How do you get cast info?
I would like in this format..

Titanic (1997) (http://www.imdb.com/title/tt0120338/)
Cast: Leonardo DiCaprio, Kate Winslet
Genre: Drama / Romance
Tagline: A woman's heart is a deep ocean of secrets

 bodongo Jul 9, 2007 2:00PM
quote:
MEiJ said:

ill check it out
Hi m8,

Just wondering if you found a fix for the error coolguy1 mentioned as im getting the same problem on version 1.9

If anyone knows a fix pls let me know

 coolguy1 Jul 21, 2007 1:26AM
Pls fix the script, new movies are not showing up. Thanks :)

 Flak Jul 28, 2007 9:25AM
look @ that 2 exemples:

!imdb ratatouille
!imdb Ratatouille
!imdb ratatouille (2007)
!imdbprout Ratatouille (2007)
[IMDb] Ratatouille (2007) ( http://www.imdb.com/title/tt0382932/ ) Directed By: n/a Genre: Animation / Comedy / Family Tagline: Dinner is served... Summer 2007 Runtime: 110 min Rating: [**********] 8.6/10 (19,918 votes) - Top 250: #62

!imdb disturbia
!imdb Disturbia
!imdb disturbia (2007)
!imdb Disturbia (2007)
[IMDb] Disturbia (2007) ( http://www.imdb.com/title/tt0486822/ ) Directed By: n/a Genre: Thriller Tagline: Every killer lives next door to someone Runtime: 104 min Rating: [**********] 7.3/10 (13,488 votes)

really strange ^o) .. anyway good job MEiJ :) little idea for future version.. if u can add some infos in the /business page like screens & budget ^^ that's will be hot ! :)
thanks to you for time :)

Text edited by author on Jul 28, 2007 @ 9:27AM

 del78 Jul 10, 2007 6:42PM
they don�t work any more :/

Text edited by author on Jul 10, 2007 @ 6:43PM

 sixguns1964 Jul 11, 2007 8:50AM
votes work for me in the 1.9 version.
only thing i see is that some movies dont come up, but that too works if u put the movie plus the year aka !imdb Jaws (1975)

also imdb changes their page often so may need tweaking 2 or 3 times a year

 bodongo Jul 13, 2007 1:48AM
Yea my votes work in 1.9 version aswell also some movies dont show but do work if you type in the year, Which tbh defeats the purpose of the script as u need to check the year on iMDB 1st so u can type it in hehe

Is there a known fix to stop this ?

 neek Jul 9, 2007 12:42PM
For some reason or another, the script messes up when attempting a !imdb -l<#> command:

<x> !imdb -l2 8 mile
<xx> #1: 8 Mile (2002</td></tr><tr><tdvalign="top"><ahref="/rg/photo-find/title-tiny/title/tt0120689/"><imgsrc="http://ia.imdb.com/media/imdb/01/I/72/03/11/10t.jpg"width="23"height="32"border="0"></a> </td><tdalign="right"valign="top"><imgsrc="/images/b.gif"width="1"height="6"><br>2.</td><tdvalign="top"><imgsrc="/images/b.gif"width="1"height="6"><br><ahref="/title/tt0120689/">TheGreenMile</a>1999) - http://www.imdb.com/title/tt0298203/
<xx> #2: The Green Mile (1999) - http://www.imdb.com/title/tt0120689/

Text edited by author on Jul 9, 2007 @ 12:44PM

 del78 Jul 8, 2007 6:41PM
thanks for the update MEiJ !!
seems like the votes doesn�t work any more since 9.07.07-00:46 gmt+1 :/
damned

 sohun Jul 4, 2007 6:46AM
hai, how change colors in rating_bar?

 linx05 Jul 4, 2007 3:01AM
Also, would you be able to create a flood control with this script and google please? Certain losers like to abuse it and constantly request a movie or search over and over. A simple automatic ban from using it would be great.

Thank you!

 linx05 Jul 4, 2007 1:23AM
Good to see you're keeping it updated.

 DRaGoNSLaYeRsLaIR Jun 30, 2007 11:58AM
Rating:     10great script .. hope you update it again soon so it works as imdb changed their paige again ;)

 coolguy1 Jun 29, 2007 12:19PM
Script broke Again!

!movie titanic

May be m4s7r0l1nd0 can provide us a fix again :)

Text edited by author on Jun 30, 2007 @ 1:11PM

 sixguns1964 Mar 4, 2007 7:27AM
Rating:     8v1.8 works fine, the only thing that isnt working is the rating of movies.

 m4s7r0l1nd0 Apr 17, 2007 10:38AM
I've done some simple changes in _main function code so at least rating and votes works now, but i disable extras and bar.
I did it since i simply dont need it, instead i'd like to now if someone is able to read screenplays (which link has to be forward?)

alias -l _main {
var %i 1, %sn $1 bunset &x while ($hget(%sn,%i).item) {
.echo -q $hget(%sn,%i,&x.d) bcopy &x$calc($bvar(&x,0) + 1) &x.d 1 -1 inc %i } bunset &x.d if ($hget(%sn)) { hfree %sn }
if ($bvar(&x,0) == 0) { _hadd %sn error No data received on socket! _parse %sn error$2-
sockclose %sn
return
}
tokenize 32 $2- if ($1 == 0) {
var %i 0, %p = $bfind(&x, 1, <ol>) while ($regex(one, $bvar(&x, %p, 500).text, <li>.*?<a href="(.[^"]+)".*?>(.[^<]+)</a>(.[^<]*).*?</li>)) { inc %i if (!$5) {
if ($hget(%sn)) { hfree %sn } sockmark$_open $iif($6,3,1) $2$3 $4$5 $6$+(http://www.imdb.com,$gettok($regml(one, 1),1,63)) $8- return } else { _hadd %sn num %i _hadd %sn title$_regexp($regml(one, 2)) _hadd %sn url http://www.imdb.com$+ $gettok($regml(one, 1),1,63)
_hadd %sn year $iif($remove($regml(one, 3),$chr(40),$chr(41),$chr(32)),$ifmatch,n/a) _parse %sn list$1-
}
if ($5 == %i) { break } var %p =$bfind(&x, $calc(%p + 10), <li>) } if (%i == 0) { _parse %sn none$1- }
elseif (%i != $5) { _hadd %sn found %i _parse %sn miss$1-
}
}
elseif ($1 == 1) { var %p =$bfind(&x, 1, <title>)
if ($regex($bvar(&x, %p, 100).text, <title>(.[^<]*)</title>)) {
_hadd %sn title $_regexp($regml(1))
_hadd %sn url $7 _hadd %sn rating Awaiting 5 votes. _hadd %sn rating_votes 0 votes _hadd %sn rating_bar _hadd %sn rating_extra } ;MODIFY START HERE MODIFY START HERE MODIFY START MODIFY START HERE var %p =$bfind(&x, %p, <div class="general rating">)
if ($regex(one,$remove($bvar(&x, %p, 850).text,$cr, $lf),<div class="general rating">(.+?(?:</a>|<br/>))</div>)) { var %temp =$regml(one, 1)
if ($regex(one, %temp, <b>([0-9\.]+)/10</b>)) { ;_hadd %sn rating_bar$_rating($regml(one, 1)) _hadd %sn rating$+($regml(one, 1),/10) } if ($regex(one, %temp, <a href="ratings">(.*?)</a>)) {
_hadd %sn rating_votes $regml(one, 1) ;_hadd %sn rating_extra$iif($regml(one, 3), -$_regexp($replace($regml(one, 3), top, Top, bottom, Bottom, ffb,)))
}
;MODIFY END HERE MODIFY END HERE MODIFY END HERE MODIFY END HERE MODIFY END HERE
}
var %p = $bfind(&x, %p, <h5>) while ($regex(one, $remove($bvar(&x, %p, 850).text, $cr,$lf), <h5>(.+?)</h5>)) {
var %t = $replace($lower($remove($_regexp($regml(one, 1)),:)),$chr(32), _), %m
if ($regex(one,$remove($bvar(&x, %p, 850).text,$cr, $lf), </h5>(.+?)(?:</div>|<br/><br/>))) { if (%t == writing_credits) || (%t == directed_by) { var %m =$replace($regml(one, 1), <br/><a,$+($chr(32),/,$chr(32),<a))
_hadd %sn %t $_regexp(%m) } else { _hadd %sn %t$_regexp($regml(one, 1)) } } var %p =$bfind(&x, $calc(%p + 1), <h5>) } _parse %sn movie$1-
}
elseif ($1 == 3) { var %p =$bfind(&x, 1, <title>)
if ($regex($bvar(&x, %p, 100).text, <title>(.[^<]*)</title>)) {
_hadd %sn name $_regexp($regml(1))
_hadd %sn url $7 } var %p =$bfind(&x, %p, <h5>)
while ($regex($remove($bvar(&x, %p, 800).text,$cr, $lf), <h5>(.[^<]*)</h5>(.*?)<br/><br/>)) { var %m =$replace($lower($replace($remove($regml(1), :), Date of birth (location), Date of Birth, biography, Biography, Sometimes Credited As, Also Known As)),$chr(32),_) _hadd %sn %m$_regexp($regml(2)) var %p =$bfind(&x, $calc(%p + 1), <h5>) } _parse %sn cast$1-
}
}

This is only a temp solution, hope a complete fix will come from the author, i'm not exactly an hard mirc coder :-D
byez
M.

Thanks :)

 konsumer Apr 23, 2007 1:14PM
Worked Perfect.
Thank You kindly Mr. m4s7r0l1nd0.
:)

 del78 Apr 30, 2007 7:40PM
yeah..god bless you :) great work

 coolguy1 May 28, 2007 2:04PM
How do you get cast info?
I would like in this format..

Titanic (1997) (http://www.imdb.com/title/tt0120338/)
Cast: Leonardo DiCaprio, Kate Winslet
Genre: Drama / Romance
Tagline: A woman's heart is a deep ocean of secrets

 linx05 May 10, 2007 12:47AM
Rating:     10Good job. Will you continue to keep it updated?

 coolguy1 May 6, 2007 9:05AM
Hi,

How do you get cast info?
I would like in this format..

Titanic (1997) (http://www.imdb.com/title/tt0120338/)
Cast: Leonardo DiCaprio, Kate Winslet
Genre: Drama / Romance
Tagline: A woman's heart is a deep ocean of secrets

 Sjaw Apr 24, 2007 2:04AM
Rating:     8Really nice script!

How do I access the different values from other scripts? - All the cookies, like genre list etc?

 Sjaw May 4, 2007 11:20AM
$bvar(&genre^).text does not work.... anyone know how to do it pls?  stoney2 Mar 26, 2007 6:32PM The imdb script is working great in a test channel but not working in tha main one . Any sugestions?  Jay2k1 Mar 30, 2007 4:30PM quote: stoney2 said: The imdb script is working great in a test channel but not working in tha main one . Any sugestions? Has the main chan mode +c (no control codes)? Do you get any error messages?  del78 Mar 5, 2007 9:01AM you are right, but thats what madcap already said. pls update it :D  del78 Mar 2, 2007 4:40PM Rating: 10Please Update it!  madcap Feb 28, 2007 10:43AM Rating: 10Thanks for updating :) One small thing however, it still seems to have trouble retrieving the rating...  konsumer Feb 22, 2007 12:48AM Rating: 10Love this add-on. This new version (vv1.8) works perfect. Thanx :D ********* Edit Wed Feb 28 18:04:33 2007: The Rating Does not work now. It was working for about 5 days after the vv1.8 release date. Says this for every movie: Rating: Awaiting 5 votes. (0 votes) Text edited by author on Feb 28, 2007 @ 9:00PM  evilrico Feb 20, 2007 4:30AM Hi MEiJ This script no longer works since IMDB changed the layout and there is not an imdb script out there as effective as this one that even works now. Rico  jokerjr2 Nov 10, 2006 8:10AM [IMDb] Error: HTTP/1.1 500 Server Error! error i getting any fix using imdb_v1.7[08-22]  Razor-Blade Mar 14, 2006 9:04AM Rating: 8hey anyone here know how u add extra info to the imdb addon, like stars/country/plot outline/language/ etc etc if anyone knows plz give me a shout either in here on a msg ;p thx nice addon btw ;]  roxette Mar 23, 2006 12:03AM just check the readme file :p  coolguy1 Mar 1, 2006 1:16PM So whats the Fix for this SOCKET ERROR? anyone know?? [3:57pm] <@Kupo> !imdb godfather [3:57pm] <@Kupo> [IMDb] Error: No data received on socket!!  Emiko Sep 2, 2005 3:49PM [3:57pm] <@Kupo> !imdb godfather [3:57pm] <@Kupo> [IMDb] Error: No data received on socket!! nuff said :( mirc 6.14 Adelphia Cable  zjieb Jan 23, 2006 3:27PM Someting's wrong with the sockets. I managed to get the script running by altering the code. I added .echo -q$_open to the script on 2 places.

if ($bfind(&x,1,$crlf $+ Location:) > 0) { if ($regex($bvar(&x,$ifmatch,800).text, Location: (.[^ $+$crlf $+ ]+))) { tokenize 32$sock($sockname).mark if ($hget($sockname)) { if ($hget($sockname)) { hfree$sockname
}
}
sockclose $sockname .echo -q$_open
sockmark $_open$iif($6,3,1)$2 $3$4 $5$6 $gettok($regml(1),1,63) $8- return } } inc %i if (!$5) {
if ($hget(%sn)) { hfree %sn } .echo -q$_open
sockmark $_open$iif($6,3,1)$2 $3$4 $5$6 $+(http://www.imdb.com,$gettok($regml(one, 1),1,63))$8-
return
}

Text edited by author on Jan 23, 2006 @ 3:28PM

 coolguy1 Aug 23, 2005 11:57AM
I am still getting the same old ERROR in 1.7 too :(

<@bot> !movie titanic
<@test> [IMDb] Error: No data received on socket!!

Pls help... Thanks.

<@test> [IMDb] Error: No data received on socket!!
[Web Headers] - Starting... (IP: 127.0.0.1, Port: 80)
GET / HTTP/1.0
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/msword, */*
Accept-Language: en-us
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Media Center PC 3.0; .NET CLR 1.0.3705)
Host: 127.0.0.1
Connection: Keep-Alive
Pragma: no-cache
Cache-Control: no-cache

 MEiJ Aug 24, 2005 3:08AM
Im out of ideas as to why this occurs for some people, id assume it has something to do with squid proxys your ISP is running but im not sure. If anyone who has a this problem is able to debug this for me id be greatly appriciated. If anyone is having the same problem could you list your OS, mIRC version and what script your using hopfully that might shed some light on the problem.

 Arie Jun 28, 2005 7:27PM
change first line for flood protect :)

on *:TEXT:*:#: { if (%imdb.flood != 1) && ($_ban($+($nick,!,$address))) && ($_trigger($1)) { _input $chan$cid $nick$2- | set %imdb.flood 1 | timer 1 30 set %imdb.flood 0 } }

 aeros Jun 22, 2005 5:13PM
Its a nice script, can u ahve a flood protection on it? Ignore users after first time use if they try to trigger the command again within a time.

 MEiJ Jun 27, 2005 10:28AM
ill probably add this in the next release when (if) it comes out.

 OuTSMoKE Jun 18, 2005 10:44PM
Hey MeiJ, You IMDB Script works awesome, is the any chance of you making an addon for tv.com? like so when you did !TV <show> maybe it came back with show desc, prev and next eps, links, ratings, etc. That would be AWESOME. Peace meng.

OuTSMoKE

 MEiJ Jun 27, 2005 10:26AM
i dont use my google/imdb scripts as it is, i dont really want to support yet another script i wont use. by all means take what code you need from my google/imdb scripts and make your own tv.com script.

 coolguy1 Apr 20, 2005 7:13PM
I am getting FOLLOWING ERROR:

[IMDb] Error: No data received on socket!!

 coolguy1 Apr 24, 2005 10:57AM
Does anyone even check these comments? or author has no clue why its erroring? Thx.

 MEiJ Apr 24, 2005 1:44PM
It should be working fine, that error shouldnt really be reached and as it says no data has been received on the socket, so theres no data to parse.
Try emailing me if you want a quicker response i dont check these comments all that often, my emails in the .mrc file and the readme.

 coolguy1 Apr 25, 2005 1:29PM
Thx, sent an email yest to ur gmail... Thanks

 OuTSMoKE Apr 15, 2005 8:16PM
Awesome man. 1.5 is werking nicely. Not only for movies, but for the TV show listing on imdb as well, which i've had lots of probles with in the past scripts. Good werk MEiJ!

PS - Any chance of getting you to do a script like imdb for www.tvtome.com, that like looksup the show and gives your the info listed under "Show Information"?

Thanks, keep up the awesome work!

-=- OuTSMoKE -=-

 MEiJ Apr 16, 2005 4:22PM
Ive thought about doing one but never got around to it, maybe in the near future :)...

 MEiJ Apr 7, 2005 1:37PM
I forgot to rename the addons name to reflect the new version number, it is currently at v1.6 even though it still says v1.5.

Also, ive kind of worked around the $bfind bug, it'll return an error message instead of the script just dieing, not an ideal fix but it shouldnt normally get to that part of the code without some contents. The only situation that it might happen in is if the body was 0 bytes and there was still a valid header of some sort.  friesland2k5 Feb 28, 2005 1:25PM Very nice script, wonderfull job! Been using it for quite some time now, and it works great. Maybe it's possible to add box-office information, like the number of screens (# of theatres it was shown in)? I would really love to have acces to that information by this script.  Vindicator Mar 14, 2005 12:36PM Maybe its just me but new version still not working for me hasnt worked in a couple of months now 1.4 or 1.5  Vindicator Mar 19, 2005 5:48PM tis ok got it working again nice job as always :)  coolguy1 Mar 26, 2005 1:27AM * Invalid parameters:$bfind (line 102, imdb.mrc)

I am gettingthis above ERROR when did : !imdb <moviename>

 linx05 Mar 19, 2005 10:47AM
I love it! Add a budget tag aswell!

 coolguy1 Mar 16, 2005 1:14PM
* Invalid parameters: \$bfind (line 102, imdb.mrc)

I am gettingthis above ERROR when did : !imdb <moviename>

 OuTSMoKE Feb 20, 2005 12:39AM
i've used both 1.3 and 1/4 and keep getting the following errors... here's a few snippets:

[IMDb] Error: HTTP/1.1 400 Bad Request!

i get no results or those errors more often then i get movie info, any suggestions?

 Serpent Feb 14, 2005 7:43PM
MEiJ, can you give us an idea as to when the IMDb script will be updated and working again?

 TayloR Feb 15, 2005 8:14AM
Well if you click his name, and go to his website, imdb version 1.4 is available to download from there.. however that doesnt work either for me. Could anyone else give it a try and let us know if it works?

 Serpent Feb 15, 2005 5:27PM
Ya, tried IMDb v1.4 from his website. Doesn't work for me either.

 TayloR Feb 19, 2005 5:41PM
Well for some reason i started getting some results today.. i got a search result when searching for the matrix, gave me the correct information back.. but on most searches i now get a new error.. this one:

[IMDb] Error: HTTP/1.1 400 Bad Request!

 TayloR Feb 4, 2005 12:40PM
Why do they keep altering the HTML on the website for? do you reckon its because they know about people accessing the database via bots and not actually visiting the website itself? i mean if you look at it from this angle they are loosing a fair few hits per day.. or do you reckon they're just doing some basic updates / changes instead?

Also MEiJ, i use both your google and IMDb bot and when functioning they are brilliant.. really nice work with those.. i look forward to anymore addons you do in the future :)

Text edited by author on Feb 4, 2005 @ 12:41PM

 ninza Feb 1, 2005 9:56PM
I get "[IMDb] No results found for: the godfather." all the time...
with version 1.3... what shall i do?

 MEiJ Feb 2, 2005 12:23AM
Thanks for the heads up. Looks like they've changed the html slightly yet again. Ill check it out and update the script when im allowed to again.

 R1pl3y Feb 2, 2005 12:13PM
Don't you have a website for these scripts?
(Need one? PM me)
Great work tho! :D

 cr3diTs Feb 2, 2005 12:39AM
Hi , i have a very simular problem with 2 of your script, they used to work fine.
Im using the imdb and google but get error messages :

* /bcopy: invalid parameters (line 68, imdb.mrc)

* /bcopy: invalid parameters (line 58, google.mrc)

jediflight@yahoo.com

 jokerjr2 Jan 4, 2005 11:49AM
this is a nice script i have used it for like a month or so never no problems then like a week or so ago almost every title i try to search for came back no results but if i used imdb ID code it would come up someone told me imdb changed some stuff on there site and another thing if u do a 0 then anything it will try searching for it on imdb no matter what it is this is very bothersome if so can u please do a update on this script its the only one i know of that works in windows thx alot for your hard work and look forward to the update

 Teazle Jan 25, 2005 3:51AM
ever thought of structuring your post? like using questionmarks (?), commas (,), or periods (.)? its alot easier to understand your post(s) this way.

 webprofit Jan 24, 2005 3:33PM
good idea, i love the IMDb. just dont use irc enough to use this, usually just mozilla it. gw tho

 Mister-Monkey Oct 17, 2004 1:47AM
How teh heck do i run this? I dun understand @_@

Text edited by author on Oct 17, 2004 @ 1:48AM

 MEiJ Oct 17, 2004 2:00AM
yeah sorry about that, i forgot to add a section in the readme.txt on how to use it.. so i'll put a little note here instead..

basicly its a script for a bot (though anyone can use it) to let people search imdb.com, once you load the script you'll be
prompted to type /_imdb, do so and configure your settings (if you leave it as is it will work fine). then just type !imdb
in any channel and it should reply with a little info about the script.

to do a basic search for a movie try something like:
!imdb the godfather

to do a basic search for a cast or crew member type:
!imdb -c keira knightley

there's also 1 other option you can use which instead of giving you the complete info for your search it will print out a
list of possible results, for example:
!imdb -l5 the matrix

i hope that might help some people a little bit, if your still confused take a look at the screenshot..

 jokerjr2 Jan 2, 2005 8:03PM
this is a nice script i have used it for like a month or so never no problems then like a week or so ago almost every title i try to search for came back no results but if i used imdb ID code it would come up someone told me imdb changed some stuff on there site if so can u please do a update on this script its the only one i know of that works in windows thx alot for your hard work and look forward to the update

 DeeperID Oct 18, 2004 4:54PM
I have set it up and its responding but I always get "[IMDb] No results found for: Keira." (when using the example stated after typing !imdb). I have tried many other searches too including "the matrix" and "lord of the rings" with the -l option and it still comes up with no results, seems to take a long time could be the time out message.

 MEiJ Oct 19, 2004 10:26PM
if anyone is having this problem (or similar) could they please email me at meijie \a\ gmail \d\ com.

 MEiJ Nov 21, 2004 7:32AM
anyone still using v1.0 please update to v1.1 to fix this bug.

 cham Oct 26, 2004 4:29AM
Excelent script i just miss the ability to get the script to echo the info to a specific chan or in a custum window... anything that can be done?