Im new @
kodi and spend some time to scrap my Movies, change Covers, cdarts .... with the integrated moviedb scraper.
After all that work i realized that no Age Rating was inserted into my MySQL Database
Now i know its a bug when scraping ratings from moviedb and not imdb.
OK scrap all data new and all covers or insert age rating manually
Then i read your code, extended it a little bit and now i can scrap all the Age Ratings with one Click
At the Moment he scrap only the German FSK Ratings from
https://altersfreigaben.de/api_desc.html and insert it to Database like the integrated Kodi Scraper "Rated XX"
With a little bit more time i can add also usa and other mpaa ratings, a Config Option for Format in Database like "germany:xx", better code and so on if you like my work at your addon.
Here is the diff code to your actual Git Version:
http://pastebin.com/JT7Bq59t
Edit: I have added two new Options:
MPAA Language: DE or US - DE comes from altersfreigabe.de, US comes also from omdb
MPAA Format: Rated|USA:|FSK|Germany: - Format as it save to Database (germany: 6, FSK 6, Rated R and so on)
Also the Database will only be updated if the new and old variable are different.