determinate determinate

Author Topic: imdb rating/vote only offline  (Read 470 times)

0 Members and 1 Guest are viewing this topic.

Offline bofh19

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
imdb rating/vote only offline
« on: August 23, 2010, 09:30:13 pm »
i know that there is already a script for imdb which shows a lot of data for a movie from imdb..
but that takes from internet..and till the result is out..the hub is hanged ..and my net is slow...so i wrote an offline imdb script...
i did copy all the taking values part from lUk3f1l3w4lK3R 's script http://board.ptokax.ch/index.php/topic,8691.0.html script...i dont know how parse in lua..
anyway....
get the ratings file from http://ftp//ftp.fu-berlin.de/pub/misc/movies/database/ratings.list.gz its imdb site and can be used     (i guess)
extract it you will get a ratings.list file ..
now it has a lot of stuff...to parse..and i dont know lua properly so..
  • first remove all the data till line number 297..that is the top 250 movies ones
  • and all the license data at the ending of file
  • then install python 2.6 or any 2.* version..and run yearparse.py with that...this generates a ratings2.list...

now this ratings2.list can be used with the script..

the script has 3 commands !imdb !imdball and !imdbh (similar) to  lUk3f1l3w4lK3R script...it displays votes and movie names series
all series have a (tv) at the end....
below is the result for the command !imdb shawshank redemption
Code: [Select]
[00:43:37] <•iMDB•>  Below Are The results displayed on your search request for " shawshank redemption "
[00:43:37] <•iMDB•>  If it doesnt show what you are searching for then try another search term.
[00:43:37] <•iMDB•>

Votes Rating Movie(tv show)

52 7.4 Hope Springs Eternal: A Look Back at 'The Shawshank Redemption' (2004) (V)
510017 9.2 The Shawshank Redemption (1994)

Processed 331261 Movies from database found 2 matches
nothing is case sensitive now

i will try to post the modified ratings file also .. but my net is slow ..  :( :( :(
im not allowed to upload .py files so giving in zip..
Live Free or Die

Offline bofh19

  • Newbie
  • *
  • Posts: 9
  • Karma: +0/-0
Re: imdb rating/vote only offline
« Reply #1 on: August 23, 2010, 11:18:00 pm »
here is the uploaded file ..
https://sites.google.com/site/theshadowwarrior88/ratings2.7z

use the one from ftp//ftp.fu-berlin.de/pub/misc/movies/database/ratings.list.gz

mine is a week late
Live Free or Die

Offline smarty2890

  • Newbie
  • *
  • Posts: 6
  • Karma: +0/-0
Re: imdb rating/vote only offline
« Reply #2 on: August 26, 2010, 04:38:08 pm »
Nice one bofh ... :D ;)

Thanks a lot :D

 

determinate determinate
guestbook