determinate determinate

Author Topic: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]  (Read 2719 times)

0 Members and 1 Guest are viewing this topic.

Offline lUk3f1l3w4lK3R

  • Junior Member
  • **
  • Posts: 23
  • Karma: +4/-0
iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« on: July 06, 2010, 07:41:20 pm »
Code: [Select]
--[[
  ___________________________________________________________________
--| iMDB Search 2.0a LUA 5.1x [API2] [PtokaX] |--
--| |--
--| Internet Movie DataBase script for Eximius Hubsoft |--
--| by Dumbdozygit Dumbdozygit@hotmail.com |--
--| |--
--|   Searches  www.imdb.com  for film title and |--
--|  returns details of first result to main chat. |--
--| |--
--| Command: |--
--| !imdb <film name> |--
--| |--
--| Result in format: |--
--| |--
--| Film Title: |--
--| Directed By: |--
--| Genre: |--
--| Runtime: |--
--| Aspect Ratio: |--
--| Rating: |--
--| Plot: |--
--| Comment: |--
--| Release Date: |--
--| |--
--| Modded by lUk3f1l3w4lK3R 15.05.2010 |--
--| +Added script specs |--
--| +Added a SubMenu |--
--| +Added Send Bot RCMenu to specified profiles |--
--| +Added help command to RC-Menu |--
--| +Changed the RCMenu style |--
--| +Version change to 2.0 |--
--| |--
--| PtokaX version by lUk3f1l3w4lK3R 17.05.2010 |--
--| +Converted to PtokaX API |--
--| +Tested with PtokaX 0.4.1.2 |--
--| +Named: iMDB Search 2.0 LUA 5.1x [API2] [PtokaX] |--
--| |--
--| Changelog 2.0a by lUk3f1l3w4lK3R 03.07.2010 |--
--| +Added some ASCii character codes |--
--| +Changed Comment:</h5> to User Reviews:</h5> for parsing|--
--| the comments |--
--| +Added parsing of "Release Date:" |--
--| +Added parsing of "Aspect Ratio:" |--
--| +Fixed parsing of "Runtime:" |--
--| |--
--| Note: |--
--| This script require the PXLuaSocket-2.0.2 library |--
--| Download it from: |--
--| http://www.czdc.org/PtokaX/Libs-0.4.0.0RC6/PXLuaSocket-2.0.2.7z |--
--| |--
--| lUk3f1l3w4lK3R gives Special Thankz to: |--
--| Mutor (your scripts helps me alot to understand this LUA stuff) |--
--|_________________________________________________________________|--

]]

Have fun with this script.
« Last Edit: August 04, 2010, 07:02:03 pm by lUk3f1l3w4lK3R »

Offline Jimbob

  • Junior Member
  • **
  • Posts: 10
  • Karma: +1/-2
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #1 on: July 07, 2010, 01:54:28 am »
Sweet original script by DDG and nice additions by yourself.

1 very small thing I've found

      ====================iMDB====================
      Film Title:   Manhunt (2008)
      Directed By:  No Information Found
      Genre:  Horror / Thriller
      Runtime:  Argentina:78 min 
[00:46:39]  Norway:78 min
      Aspect Ratio:  2.35 : 1
      Release Date:  4 January 2008 (Norway)
      Rating:  * * * * *     5.0/10 
      Plot:  The summer of 1974. Four young friends have planned a relaxing weekend out in the woods. At a remote truck stop they pick up a hitchhiker...
      Comment:  Great Norwegian survival-horror
      ====================iMDB====================

As you can see, in the Runtime field it has come across character 125 ($7C) and outputted a new line with time stamp

Offline lUk3f1l3w4lK3R

  • Junior Member
  • **
  • Posts: 23
  • Karma: +4/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #2 on: July 08, 2010, 04:53:52 pm »
Code: [Select]
--[[
  ___________________________________________________________________
--| iMDB Search 2.0b LUA 5.1x [API2] [PtokaX] |--
--| |--
--| Internet Movie DataBase script for Eximius Hubsoft |--
--| by Dumbdozygit Dumbdozygit@hotmail.com |--
--| |--
--|    Searches  www.imdb.com  for film title and |--
--|   returns details of first result to main chat. |--
--| |--
--| Command: |--
--| !imdb <film name> |--
--| |--
--| Result in format: |--
--| |--
--| Film Title: |--
--| Directed By: |--
--| Company: |--
--| Genre: |--
--| Country: |--
--| Language: |--
--| Runtime: |--
--| Aspect Ratio: |--
--| Rating: |--
--| Plot: |--
--| Comment: |--
--| Release Date: |--
--| |--
--| Modded by lUk3f1l3w4lK3R 15.05.2010 |--
--| +Added script specs |--
--| +Added a SubMenu |--
--| +Added Send Bot RCMenu to specified profiles |--
--| +Added help command to RC-Menu |--
--| +Changed the RCMenu style |--
--| +Version change to 2.0 |--
--| |--
--| PtokaX version by lUk3f1l3w4lK3R 17.05.2010 |--
--| +Converted to PtokaX API |--
--| +Tested with PtokaX 0.4.1.2 |--
--| +Named: iMDB Search 2.0 LUA 5.1x [API2] [PtokaX] |--
--| |--
--| Changelog 2.0a by lUk3f1l3w4lK3R 03.07.2010 |--
--| +Added some ASCii character codes |--
--| +Changed Comment:</h5> to User Reviews:</h5> for parsing|--
--| the comments |--
--| +Added parsing of "Release Date:" |--
--| +Added parsing of "Aspect Ratio:" |--
--| +Fixed parsing of "Runtime:" |--
--| |--
--| Changelog 2.0b by lUk3f1l3w4lK3R 07.07.2010 |--
--| +Added more ASCii character codes to table |--
--| +Added parsing of "Language:" |--
--| +Added parsing of "Country:" |--
--| +Added parsing of "Company:" |--
--| +Fixed parsing of multiple Runtime's |--
--| |--
--| Note: |--
--| This script require the PXLuaSocket-2.0.2 library |--
--| Download it from: |--
--| http://www.czdc.org/PtokaX/Libs-0.4.0.0RC6/PXLuaSocket-2.0.2.7z |--
--| |--
--| lUk3f1l3w4lK3R gives Special Thankz to: |--
--| Mutor (your scripts helps me alot to understand this LUA stuff) |--
--|_________________________________________________________________|--

]]

Thx for the report Jimbob. This is fixed in version 2.0b.
Looks now like this:

      ====================iMDB====================
      Film Title:   Manhunt (2008)
      Directed By:  No Information Found
      Company:  Euforia Film
      Genre:  Horror / Thriller
      Country:  Norway
      Language:  Norwegian
      Runtime:  Argentina:78 min  | Norway:78 min
      Aspect Ratio:  2.35 : 1
      Release Date:  4 January 2008 (Norway)
      Rating:  * * * * *     5.0/10 
      Plot:  The summer of 1974. Four young friends have planned a relaxing weekend out in the woods. At a remote truck stop they pick up a hitchhiker...
      Comment:  Loads of stunning makeup and effects, thus thereby utterly disgusting
      ====================iMDB====================

Attachment in first post updated.

Offline Mr.T

  • Fulll Member
  • ****
  • Posts: 61
  • Karma: +7/-2
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #3 on: July 09, 2010, 01:58:34 pm »
Can you make the scrit send it to pm to user and not i main :)

Offline lUk3f1l3w4lK3R

  • Junior Member
  • **
  • Posts: 23
  • Karma: +4/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #4 on: July 09, 2010, 07:30:03 pm »
Code: [Select]
--[[
  ___________________________________________________________________
--| iMDB Search 2.0c LUA 5.1x [API2] [PtokaX] |--
--| |--
--| Internet Movie DataBase script for Eximius Hubsoft |--
--| by Dumbdozygit Dumbdozygit@hotmail.com |--
--| |--
--|   Searches  www.imdb.com  for film title and |--
--|  returns details of first result to main chat. |--
--| |--
--| Command: |--
--| !imdb <film name> |--
--| |--
--| Result in format: |--
--| |--
--| Film Title: |--
--| Directed By: |--
--| Company: |--
--| Genre: |--
--| Country: |--
--| Language: |--
--| Runtime: |--
--| Aspect Ratio: |--
--| Sound Mix: |--
--| Rating: |--
--| Plot: |--
--| Comment: |--
--| Release Date: |--
--| |--
--| Modded by lUk3f1l3w4lK3R 15.05.2010 |--
--| +Added script specs |--
--| +Added a SubMenu |--
--| +Added Send Bot RCMenu to specified profiles |--
--| +Added help command to RC-Menu |--
--| +Changed the RCMenu style |--
--| +Version change to 2.0 |--
--| |--
--| PtokaX version by lUk3f1l3w4lK3R 17.05.2010 |--
--| +Converted to PtokaX API |--
--| +Tested with PtokaX 0.4.1.2 |--
--| +Named: iMDB Search 2.0 LUA 5.1x [API2] [PtokaX] |--
--| |--
--| Changelog 2.0a by lUk3f1l3w4lK3R 03.07.2010 |--
--| +Added some ASCii character codes |--
--| +Changed Comment:</h5> to User Reviews:</h5> for parsing|--
--| the comments |--
--| +Added parsing of "Release Date:" |--
--| +Added parsing of "Aspect Ratio:" |--
--| +Fixed parsing of "Runtime:" |--
--| |--
--| Changelog 2.0b by lUk3f1l3w4lK3R 07.07.2010 |--
--| +Added more ASCii character codes to table |--
--| +Added parsing of "Language:" |--
--| +Added parsing of "Country:" |--
--| +Added parsing of "Company:" |--
--| +Fixed parsing of multiple Runtime's |--
--| |--
--| Changelog 2.0c by lUk3f1l3w4lK3R 09.07.2010 |--
--| +Added parsing of "Sound Mix" |--
--| +Fixed a little bug |--
--| +Changed search result in pm to user instead of main |--
--| to all users <- Requested by Mr.T |--
--| |--
--| Note: |--
--| This script require the PXLuaSocket-2.0.2 library |--
--| Download it from: |--
--| http://www.czdc.org/PtokaX/Libs-0.4.0.0RC6/PXLuaSocket-2.0.2.7z |--
--| |--
--| lUk3f1l3w4lK3R gives Special Thankz to: |--
--| Mutor (your scripts helps me alot to understand this LUA stuff) |--
--|_________________________________________________________________|--

]]

@Mr.T
This is changed in 2.0c

Attachment in first post updated.
« Last Edit: July 09, 2010, 07:32:13 pm by lUk3f1l3w4lK3R »

Offline somewherenotthere

  • Member
  • ***
  • Posts: 31
  • Karma: +0/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #5 on: July 19, 2010, 11:17:11 am »
Is it possible to have a similar script that fetches any content, like google search results with description, epguides info, etc?

Sorry i am very new to scripting. The reason is that, in my country, our ISPs split local and international and cap our international data amounts. Once capped you cannot browse sites outside of the country.

Therefore we want to provide users with the ability to use the hub's bandwidth to search and return results

Offline speedX

  • Lord
  • ***
  • Posts: 465
  • Karma: +57/-19
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #6 on: July 20, 2010, 03:40:39 pm »
Nice script lUk3f1l3w4lK3R...

Quote
lUk3f1l3w4lK3R gives Special Thankz to:
Mutor (your scripts helps me alot to understand this LUA stuff)
Same here. Mutor's scripts have also helped me to learn new stuff in LUA
Thanks Mutor :)
Thanking You,

speedX

Offline Dreams

  • Double Ace
  • *
  • Posts: 114
  • Karma: +1/-12
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #7 on: July 20, 2010, 07:20:00 pm »
This is a nice script, very handy!

But like this movie " Dawn of the dead " there are both a original and a remake, and when searching on this movie, i only get the remakes info.
Is it possible to add this so that both movies is shown?

Offline lUk3f1l3w4lK3R

  • Junior Member
  • **
  • Posts: 23
  • Karma: +4/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #8 on: July 21, 2010, 01:43:25 pm »
This is a nice script, very handy!

But like this movie " Dawn of the dead " there are both a original and a remake, and when searching on this movie, i only get the remakes info.
Is it possible to add this so that both movies is shown?

If i use the search string that you used then i also get only the remake from 2004
but with a redefined search string it is possible to get the remake as well.
"Dawn of the dead" shows remake
"George A. Romero's Dawn of the Dead" shows the original from 1978

Code: [Select]
[13:31] <•iMDB•>  Below will be displayed your search request for "George A. Romero's Dawn of the Dead"
[13:31] <•iMDB•>  If it doesnt show what you are searching for then try another search term.
[13:31] <•iMDB•> ...

====================iMDB====================
Film Title:   Dawn of the Dead (1978)
Directed By:  Donna Savini
Company:  Laurel Group
Genre:  Action / Horror / Thriller
Country:  Italy
Language:  English
Runtime:  126 min  | Germany:156 min (extended version) | Italy:117 min (Dario Argento's European/Italian Cut) | Spain:115 min  | USA:128 min (DVD version) | USA:139 min (director's cut)
Aspect Ratio:  1.85 : 1
Sound Mix:  4-Track Stereo (German prints) | monoMono
Release Date:  2 August 1979 (West Germany)
Rating:      8.0/10 
Plot:  Following an ever-growing epidemic of zombies that have risen from the dead, two Philadelphia SWAT team members, a traffic reporter, and his television-executive girlfriend seek refuge in a secluded shopping mall.
Comment:  One of the Greatest Sequels AND One of the Best Horror Films Ever
====================iMDB====================

also this search string shows the original from 1978
"Zombie: Dawn of the Dead"

Code: [Select]
[13:31] <•iMDB•>  Below will be displayed your search request for "Zombie: Dawn of the Dead"
[13:31] <•iMDB•>  If it doesnt show what you are searching for then try another search term.
[13:31] <•iMDB•> ...

====================iMDB====================
Film Title:   Dawn of the Dead (1978)
Directed By:  Donna Savini
Company:  Laurel Group
Genre:  Action / Horror / Thriller
Country:  Italy
Language:  English
Runtime:  126 min  | Germany:156 min (extended version) | Italy:117 min (Dario Argento's European/Italian Cut) | Spain:115 min  | USA:128 min (DVD version) | USA:139 min (director's cut)
Aspect Ratio:  1.85 : 1
Sound Mix:  4-Track Stereo (German prints) | monoMono
Release Date:  2 August 1979 (West Germany)
Rating:      8.0/10 
Plot:  Following an ever-growing epidemic of zombies that have risen from the dead, two Philadelphia SWAT team members, a traffic reporter, and his television-executive girlfriend seek refuge in a secluded shopping mall.
Comment:  One of the Greatest Sequels AND One of the Best Horror Films Ever
====================iMDB====================

In my opinion there is no need to change the script that it shows more then one search result
cause like you can see it is possible to get the original instead of the remake
and the only thing that is needed for this is a redefined search string.

cheers

Offline lUk3f1l3w4lK3R

  • Junior Member
  • **
  • Posts: 23
  • Karma: +4/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #9 on: July 23, 2010, 01:31:56 pm »
Code: [Select]
--[[
  ___________________________________________________________________
--| iMDB Search 2.0d LUA 5.1x [API2] [PtokaX] |--
--| |--
--| Internet Movie DataBase script for Eximius Hubsoft |--
--| by Dumbdozygit Dumbdozygit@hotmail.com |--
--| |--
--|   Searches  www.imdb.com  for film title and |--
--|  returns details of first result to main chat. |--
--| |--
--| Command: |--
--| !imdb <film name> |--
--| |--
--| Result in format: |--
--| |--
--| Film Title: |--
--| AlsoKnownAs: |--
--| Directed By: |--
--| Company: |--
--| Genre: |--
--| Country: |--
--| Language: |--
--| Runtime: |--
--| Aspect Ratio: |--
--| Sound Mix: |--
--| Rating: |--
--| Plot: |--
--| Comment: |--
--| Release Date: |--
--| |--
--| Modded by lUk3f1l3w4lK3R 15.05.2010 |--
--| +Added script specs |--
--| +Added a SubMenu |--
--| +Added Send Bot RCMenu to specified profiles |--
--| +Added help command to RC-Menu |--
--| +Changed the RCMenu style |--
--| +Version change to 2.0 |--
--| |--
--| PtokaX version by lUk3f1l3w4lK3R 17.05.2010 |--
--| +Converted to PtokaX API |--
--| +Tested with PtokaX 0.4.1.2 |--
--| +Named: iMDB Search 2.0 LUA 5.1x [API2] [PtokaX] |--
--| |--
--| Changelog 2.0a by lUk3f1l3w4lK3R 03.07.2010 |--
--| +Added some ASCii character codes |--
--| +Changed Comment:</h5> to User Reviews:</h5> for parsing|--
--| the comments |--
--| +Added parsing of "Release Date:" |--
--| +Added parsing of "Aspect Ratio:" |--
--| +Fixed parsing of "Runtime:" |--
--| |--
--| Changelog 2.0b by lUk3f1l3w4lK3R 07.07.2010 |--
--| +Added more ASCii character codes to table |--
--| +Added parsing of "Language:" |--
--| +Added parsing of "Country:" |--
--| +Added parsing of "Company:" |--
--| +Fixed parsing of multiple Runtime's |--
--| |--
--| Changelog 2.0c by lUk3f1l3w4lK3R 09.07.2010 |--
--| +Added parsing of "Sound Mix" |--
--| +Fixed a little bug |--
--| +Changed search result in pm to user instead of main |--
--| to all users <- Requested by Mr.T |--
--| |--
--| Changelog 2.0d by lUk3f1l3w4lK3R 23.07.2010 |--
--| +Added parsing of "Also Known As" |--
--| +Changed parsing of "Director". Result shows now a link |--
--| to the director profile page on imdb.com |--
--| |--
--| Note: |--
--| This script require the PXLuaSocket-2.0.2 library |--
--| Download it from: |--
--| http://www.czdc.org/PtokaX/Libs-0.4.0.0RC6/PXLuaSocket-2.0.2.7z |--
--| |--
--| lUk3f1l3w4lK3R gives Special Thankz to: |--
--| Mutor (your scripts helps me alot to understand this LUA stuff) |--
--|_________________________________________________________________|--

]]

Changed and added something to the script.
Search result now looks like this:

<•iMDB•> ...

   ====================iMDB====================
   Film Title:      Dawn of the Dead (1978)
   AlsoKnownAs:          George A. Romero's Dawn of the Dead - UK (closing credits title), USA (complete title)The Zombies - Philippines (English title)
   Directed By:   http://www.imdb.com/name/nm0001681/
   Company:   Laurel Group
   Genre:      Action / Horror / Thriller
   Country:      Italy
   Language:   English
   Runtime:      126 min  | Germany:156 min (extended version) | Italy:117 min (Dario Argento's European/Italian Cut) | Spain:115 min  | USA:128 min (DVD version) | USA:139 min (director's cut)
   Aspect Ratio:   1.85 : 1
   Sound Mix:   4-Track Stereo (German prints) | Mono
   Release Date:   2 August 1979 (West Germany)
   Rating:      * * * * * * * *     8.0/10 
   Plot:      Following an ever-growing epidemic of zombies that have risen from the dead, two Philadelphia SWAT team members, a traffic reporter, and his television-executive girlfriend seek refuge in a secluded shopping mall.
   Comment:   One of the Greatest Sequels AND One of the Best Horror Films Ever
   ====================iMDB====================


Attachment in first post updated

cheers
« Last Edit: July 23, 2010, 01:35:33 pm by lUk3f1l3w4lK3R »

Offline Dreams

  • Double Ace
  • *
  • Posts: 114
  • Karma: +1/-12
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #10 on: July 23, 2010, 05:16:41 pm »
Is it possible to add so that i can search for ex. "Dawn of the dead 1900, or 1985" and the search will show me the original instead of the remake?
I dont mean that im only gona search for dawn of the dead, but as an example.

Would be nice if one could search with the year in the search string, would be easier for the users.

Instead of my previous request.

Offline lUk3f1l3w4lK3R

  • Junior Member
  • **
  • Posts: 23
  • Karma: +4/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #11 on: July 24, 2010, 09:08:21 am »
Is it possible to add so that i can search for ex. "Dawn of the dead 1900, or 1985" and the search will show me the original instead of the remake?
I dont mean that im only gona search for dawn of the dead, but as an example.

Would be nice if one could search with the year in the search string, would be easier for the users.

Instead of my previous request.

i dont get it working to search with the year included. This doesnt work on imdb too. If you search on imdb with the year included then you get also the remake as first search result. The best thing to get the original instead of the remake is to include the director name (if you know it) in the search string.
Remake search strings:
Dawn of the dead
Zack Snyder + Dawn Of the dead

Original search strings:
Zombie: Dawn of the dead
Georg A. Romero + Dawn of the dead
Dawn of the Living Dead
In de greep van de zombies

If i ever get it to work to search including the year, then i will fill your request
but for now, i must say that the script like it is now, is everything i can do for you.

Offline Jimbob

  • Junior Member
  • **
  • Posts: 10
  • Karma: +1/-2
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #12 on: August 04, 2010, 02:54:13 pm »
I was searching for the movie '4,3,2,1' (in google not your script) and got this http://www.imdb.com/video/imdb/vi2444363545/

Would it be possible to include the link for the trailer in the output from IMDB script?

Offline lUk3f1l3w4lK3R

  • Junior Member
  • **
  • Posts: 23
  • Karma: +4/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #13 on: August 04, 2010, 07:01:10 pm »
Code: [Select]
--[[
  ___________________________________________________________________
--| iMDB Search 2.0e LUA 5.1x [API2] [PtokaX] |--
--| |--
--| Internet Movie DataBase script for Eximius Hubsoft |--
--| by Dumbdozygit Dumbdozygit@hotmail.com |--
--| |--
--|   Searches  www.imdb.com  for film title and |--
--|  returns details of first result to main chat. |--
--| |--
--| Command: |--
--| !imdb <film name> |--
--| |--
--| Result in format: |--
--| |--
--| Film Title: |--
--| AlsoKnownAs: |--
--| Directed By: |--
--| Company: |--
--| Genre: |--
--| Country: |--
--| Language: |--
--| Runtime: |--
--| Aspect Ratio: |--
--| Sound Mix: |--
--| Release Date: |--
--| Rating: |--
--| Plot: |--
--| Comment: |--
--| Media: |--
--| |--
--| Modded by lUk3f1l3w4lK3R 15.05.2010 |--
--| +Added script specs |--
--| +Added a SubMenu |--
--| +Added Send Bot RCMenu to specified profiles |--
--| +Added help command to RC-Menu |--
--| +Changed the RCMenu style |--
--| +Version change to 2.0 |--
--| |--
--| PtokaX version by lUk3f1l3w4lK3R 17.05.2010 |--
--| +Converted to PtokaX API |--
--| +Tested with PtokaX 0.4.1.2 |--
--| +Named: iMDB Search 2.0 LUA 5.1x [API2] [PtokaX] |--
--| |--
--| Changelog 2.0a by lUk3f1l3w4lK3R 03.07.2010 |--
--| +Added some ASCii character codes |--
--| +Changed Comment:</h5> to User Reviews:</h5> for parsing|--
--| the comments |--
--| +Added parsing of "Release Date:" |--
--| +Added parsing of "Aspect Ratio:" |--
--| +Fixed parsing of "Runtime:" |--
--| |--
--| Changelog 2.0b by lUk3f1l3w4lK3R 07.07.2010 |--
--| +Added more ASCii character codes to table |--
--| +Added parsing of "Language:" |--
--| +Added parsing of "Country:" |--
--| +Added parsing of "Company:" |--
--| +Fixed parsing of multiple Runtime's |--
--| |--
--| Changelog 2.0c by lUk3f1l3w4lK3R 09.07.2010 |--
--| +Added parsing of "Sound Mix" |--
--| +Fixed a little bug |--
--| +Changed search result in pm to user instead of main |--
--| to all users <- Requested by Mr.T |--
--| |--
--| Changelog 2.0d by lUk3f1l3w4lK3R 23.07.2010 |--
--| +Added parsing of "Also Known As" |--
--| +Changed parsing of "Director". Result shows now a link |--
--| to the director profile page on imdb.com |--
--| |--
--| Changelog 2.0e by lUk3f1l3w4lK3R 04.08.2010 |--
--| +Added parsing of "Media". Result shows a link to the |--
--| media files page (trailer's, teaser, clips....) on |--
--| imdb.com <- Requested by Jimbob |--
--| |--
--| Note: |--
--| This script require the PXLuaSocket-2.0.2 library |--
--| Download it from: |--
--| http://www.czdc.org/PtokaX/Libs-0.4.0.0RC6/PXLuaSocket-2.0.2.7z |--
--| |--
--| lUk3f1l3w4lK3R gives Special Thankz to: |--
--| Mutor (your scripts helps me alot to understand this LUA stuff) |--
--|_________________________________________________________________|--

]]

Jimbob your request is filled in 2.0e.
Search result looks now like this:

Code: [Select]
<•iMDB•> ...

====================iMDB====================
Film Title: Avatar (2009)
AlsoKnownAs:        Avatar: An IMAX 3D Experience - USA (IMAX version)Avatar: Special Edition - USA (longer version)James Cameron's Avatar - USA (promotional title)
Directed By: http://www.imdb.com/name/nm0000116/
Company: Twentieth Century Fox Film Corporation
Genre: Action / Adventure / Fantasy / Sci-Fi
Country: USA
Language: English
Runtime: 162 min
Aspect Ratio: 1.78 : 1
Sound Mix: Dolby Digital  | DTS  | SDDS  | Sonics-DDP (IMAX version)
Release Date: 17 December 2009 (Germany)
Rating: * * * * * * * *     8.3/10 
Plot: A paraplegic marine dispatched to the moon Pandora on a unique mission becomes torn between following his orders and protecting the world he feels is his home.
Comment: Avatar is a masterpiece & a breakthrough in cinema
Media: http://www.imdb.com/video/imdb/vi531039513/
====================iMDB====================

Attachment in first post updated
« Last Edit: August 04, 2010, 07:03:38 pm by lUk3f1l3w4lK3R »

Offline Jimbob

  • Junior Member
  • **
  • Posts: 10
  • Karma: +1/-2
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #14 on: August 04, 2010, 09:22:05 pm »
Cheers mate

Offline Xkimo

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #15 on: August 11, 2010, 05:46:55 pm »
Gr8 script thx  ;D

Offline somewherenotthere

  • Member
  • ***
  • Posts: 31
  • Karma: +0/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #16 on: November 16, 2010, 09:33:40 am »
I'm getting this output all of a sudden, maybe a change in API?

   
Quote
====================iMDB====================
   Film Title:      The Sorcerer's Apprentice (2010) - IMDb
   AlsoKnownAs:   No Information Found
   Directed By:   No Information Found
   Company:   No Information Found
   Genre:      No Information Found
   Country:      No Information Found
   Language:   No Information Found
   Runtime:      No Information Found
   Aspect Ratio:   No Information Found
   Sound Mix:   No Information Found
   Release Date:   No Information Found
   Rating:          No Rating Found 
   Plot:      No Information Found
   Comment:   No Information Found
   Media:      No Information Found
   ====================iMDB====================

Offline TTB

  • Lord
  • ***
  • Posts: 440
  • Karma: +17/-1
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #17 on: November 28, 2010, 09:32:51 pm »
Got the same... update by it's creator would be nice  ::)
TTB

(¯ ·.¸¸.-> Admin @ Surfnet hubs <-.¸¸.·´¯)

Offline kammikaze

  • Junior Member
  • **
  • Posts: 18
  • Karma: +0/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #18 on: December 21, 2010, 10:02:40 am »
Same here............

Offline Cariga

  • Member
  • ***
  • Posts: 29
  • Karma: +0/-0
    • RasnovCity
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #19 on: May 17, 2011, 10:14:57 pm »
[23:24:04] <•iMDB•>  Below will be displayed your search request for Prince of Persia
[23:24:04] <•iMDB•>  If it doesnt show what you are searching for then try another search term.
[23:24:04] <•iMDB•> ...

   ====================iMDB====================
   Film Title:      Printul Persiei - Nisipurile timpului (2010) - IMDb
   AlsoKnownAs:   No Information Found
   Directed By:   No Information Found
   Company:   No Information Found
   Genre:      No Information Found
   Country:      No Information Found
   Language:   No Information Found
   Runtime:      No Information Found
   Aspect Ratio:   No Information Found
   Sound Mix:   No Information Found
   Release Date:   No Information Found
   Rating:          No Rating Found 
   Plot:      No Information Found
   Comment:   No Information Found
   Media:      No Information Found
   ====================iMDB====================
We are captives of our own identities, living in prisons of our own creation

Offline dodgeviper

  • Member
  • ***
  • Posts: 32
  • Karma: +1/-1
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #20 on: May 29, 2011, 05:45:22 pm »
While starting this script i am getting the followin error..
i guess some files in my ptokax are missin..pls help


[21:24] Syntax ...athan6.0\Ptokax412+Leviathan6.0\libs\socket\http.lua:12: module 'socket.url' not found:
   no field package.preload['socket.url']
   no file 'D:\Downloads\Ptokax412+Leviathan6.0\Ptokax412+Leviathan6.0\socket\url.lua'
   no file 'D:\Downloads\Ptokax412+Leviathan6.0\Ptokax412+Leviathan6.0\libs\socket\url.lua'
   no file 'D:\Downloads\Ptokax412+Leviathan6.0\Ptokax412+Leviathan6.0\scripts\libs\socket\url.lua'
   no file 'D:\Downloads\Ptokax412+Leviathan6.0\Ptokax412+Leviathan6.0\socket\url.dll'
   no file 'D:\Downloads\Ptokax412+Leviathan6.0\Ptokax412+Leviathan6.0\libs\socket\url.dll'
   no file 'D:\Downloads\Ptokax412+Leviathan6.0\Ptokax412+Leviathan6.0\scripts\libs\socket\url.dll'
   no file 'D:\Downloads\Ptokax412+Leviathan6.0\Ptokax412+Leviathan6.0\socket.dll'
   no file 'D:\Downloads\Ptokax412+Leviathan6.0\Ptokax412+Leviathan6.0\libs\socket.dll'
   no file 'D:\Downloads\Ptokax412+Leviathan6.0\Ptokax412+Leviathan6.0\scripts\libs\socket.dll'

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Administrator
  • Emperor
  • *****
  • Posts: 1 125
  • Karma: +112/-2
  • I am wherever i want to be
    • PtokaX Luaboard
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #21 on: May 29, 2011, 11:29:25 pm »
looks like you are missing the libs, but as you see by your pre posters, that is not the only issue with this script ;)

Offline maharavana

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #22 on: August 21, 2011, 11:30:04 am »
I am getting the error
no file 'C:\0.4.1.2\libs\socket.lua'
   no file 'C:\0.4.1.2\scripts\libs\socket.lua'
   no file 'C:\0.4.1.2\socket.dll'
   no file 'C:\0.4.1.2\libs\socket.dll'
   no file 'C:\0.4.1.2\scripts\libs\socket.dll'

Please help . I am new to this ..

Offline theEther

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #23 on: August 24, 2011, 08:41:57 am »
I am also getting this:

[16:43] <[IMDB]>  Below will be displayed your search request for balls
[16:43] <[IMDB]>  If it doesnt show what you are searching for then try another search term.
[16:43] <[IMDB]> ...

   ====================iMDB====================
   Film Title:      Balls of Fury (2007) - IMDb
   AlsoKnownAs:   No Information Found
   Directed By:   No Information Found
   Company:   No Information Found
   Genre:      No Information Found
   Country:      No Information Found
   Language:   No Information Found
   Runtime:      No Information Found
   Aspect Ratio:   No Information Found
   Sound Mix:   No Information Found
   Release Date:   No Information Found
   Rating:          No Rating Found 
   Plot:      No Information Found
   Comment:   No Information Found
   Media:      No Information Found
   ====================iMDB====================

Solution would be great, my lua skills aren't very sharp

Offline ingenious108

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: iMDB Search 2.0a LUA 5.1x [API2] [PtokaX]
« Reply #24 on: November 27, 2011, 06:08:24 am »
 ??? i'm only getting the film titles nothing else... please try fixing it....


[10:37] <•iMDB•>  Below will be displayed your search request for rocky
[10:37] <•iMDB•>  If it doesnt show what you are searching for then try another search term.
[10:37] <•iMDB•> ...

   ====================iMDB====================
   Film Title:      Rocky (1976) - IMDb
   AlsoKnownAs:   No Information Found
   Directed By:   No Information Found
   Company:   No Information Found
   Genre:      No Information Found
   Country:      No Information Found
   Language:   No Information Found
   Runtime:      No Information Found
   Aspect Ratio:   No Information Found
   Sound Mix:   No Information Found
   Release Date:   No Information Found
   Rating:          No Rating Found 
   Plot:      No Information Found
   Comment:   No Information Found
   Media:      No Information Found
   ====================iMDB====================

 

determinate determinate
guestbook