Imdb with python
#1
hello experts,
i would like to know how can i access to the imdb information with phyton like the xbmc does.
i have a movies database writed in phyton and i want to link each movie to the imdb information.

it´s possible to call a xbmc function or something to access imdb (in the same way that i can play movies from phytom)?

thanks for your help.

alfredo
Reply
#2
i think you can only get the imdb info from the currently playing movie:

xbmc.player().getvideoinfotag()

http://www.xbmcscripts.com/downloads/doc.../xbmc.html
Reply
#3
and it´s not possible to pass a parameter to that function with the name of the movieHuh?

thanks in advance!

alfredo.
Reply
#4
try to create your own function :
1- request imdb website with video name
2- parse the return webpage and get the info you want
Reply
#5
yes...
but i think that it's better and easier :hmm: to use the xbmc.player().getvideoinfotag() function already created or something like that.
i don't want to create my own imdb function....

regards,

alfredo
Reply
#6
Sad 
hi,
it's me again.
does anyone knows if there is a way to get the imdb info of a movie form phyton.

note: i just want to use the buit-in imdb function of xbmc. without re-writing the imdb function form cero.

thanks.
regards,
alfredo.
Reply
#7
I think there will be a lib on xbmcscripts soon to make requests to IMDb. Last I talked to the dev it was near completion but he was busy with RL.
Reply

Logout Mark Read Team Forum Stats Members Help
Imdb with python0