Kodi Community Forum

Full Version: Calling A Scraper From A Script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

Does anyone know if it is possible to call a scrapper (for example the tvdb scrapper) from a Kodi Python plugin.

The reason for asking is that I would like to be able to get the tvdb ID for a given TV Show - and want to be able to do it even if the user did not select the tvdb scrapper when they loaded the TV Show into the library.

Thanks

Rob
(2015-07-22, 13:49)rob_webset Wrote: [ -> ]Hi All,

Does anyone know if it is possible to call a scrapper (for example the tvdb scrapper) from a Kodi Python plugin.

The reason for asking is that I would like to be able to get the tvdb ID for a given TV Show - and want to be able to do it even if the user did not select the tvdb scrapper when they loaded the TV Show into the library.

Thanks

Rob
No, but there is a module designed for this purpose. Metahandler: https://github.com/Eldorados/script.module.metahandler

Example you requested: https://github.com/Lunatixz/XBMC_Addons/...t.py#L5282
(2015-07-22, 16:55)Lunatixz Wrote: [ -> ]
(2015-07-22, 13:49)rob_webset Wrote: [ -> ]Hi All,

Does anyone know if it is possible to call a scrapper (for example the tvdb scrapper) from a Kodi Python plugin.

The reason for asking is that I would like to be able to get the tvdb ID for a given TV Show - and want to be able to do it even if the user did not select the tvdb scrapper when they loaded the TV Show into the library.

Thanks

Rob
No, but there is a module designed for this purpose. Metahandler: https://github.com/Eldorados/script.module.metahandler

Example you requested: https://github.com/Lunatixz/XBMC_Addons/...t.py#L5282

Thankyou! - I will give it a go

Rob