Python movie scraper development
Jump to navigation
Jump to search
Scrapers Development |
Python movie scraper development |
Wiki revamp: This page or section of the wiki undergoing a revamp. Content is still being added and organized. Please pardon the dust and anything that might not be working. |
Introduction
Historically, Kodi has been supporting XML scraping addons that allow parsing online information sources about movies, TV shows, music and so on. However, this approach has its limitations. First, XML parsing definitions with regular expressions are difficult to write and maintain. Second, many information sources implemented REST APIs for getting information and regular expressions are not suitable for parsing JSON and data. That is why Python scrapers have been introduced.
Python scrapers are written in Python language and have similar structure to media addons (plugins).
They are also called by special plugin://
URLs with query parameters. The main query parameter is action
that defines a scraping stage.