Accessing XBMC's IMDb scraping from within a (python) video plugin or script? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26) +--- Thread: Accessing XBMC's IMDb scraping from within a (python) video plugin or script? (/showthread.php?tid=38248) |
Accessing XBMC's IMDb scraping from within a (python) video plugin or script? - gzusrawx - 2008-10-02 Is there currently a way to access the imdb scraping from within a plugin or script? I want to be able to pass imdb urls to xbmc from another source in the video plugin to view the movie information. - Nuka1195 - 2008-10-02 there is a theater showtimes plugin that has an imdb module. most of the regex is stolen from the imdb.xml of xbmc. it may be broken now, but you can see how to do it. it's in the xbmc-addons svn. - BigBellyBilly - 2008-10-28 myTV and DVDProfiler script have IMDb scraping modules. they were originally based on those Nuka mentioned. Were working last time I tried them. It would be nice to be able to tap into the main XBMC scrappers thou... - spiff - 2008-10-28 exposing the scrapers to python is certainly doable. it would need some internal reorganizations but those i think we want to do no matter after atlantis. - nate12o6 - 2008-12-05 I second this. This would be great. - nate12o6 - 2008-12-05 It would be great if there was an API that would return imdb info when passed an imdb id. - Voinage - 2008-12-07 Try this function. It`s far from perfect but it works quite well. imdb() - pass it a string of the name. It returns genre,year,image,rating,plot Code: def imdb(url): - Dan Dare - 2009-05-30 Exposing the scrapers to Python is probably the way to go - replicating the logic in each Python screen that needs the info thats just mores place to break when the website structure changes... |