I use media companion to scrape movies and tvshows / episodes. Media companion scrapes imdb, tmdb, tvdb, rotten tomatoes, etc.
Below is the code that is used in nox5 to show the data in dialogvideoinfo:
https://forum.kodi.tv/showthread.php?tid=338895&page=5 post 65
$INFO[ListItem.Rating(imdb):
$INFO[ListItem.Votes(imdb), (, $LOCALIZE[205])] $LOCALIZE[368]: SetProperty(TextViewerHeader,$LOCALIZE[368],Home) SetProperty(TextViewerContent,$INFO[ListItem.Rating(imdb)]$INFO[ListItem.Votes(imdb), (, $LOCALIZE[205])],Home) ActivateWindow(1132) !String.IsEqual(ListItem.Rating(imdb),0.0) $INFO[ListItem.Rating(themoviedb)]$INFO[ListItem.Votes(themoviedb), (, $LOCALIZE[205])] $LOCALIZE[31120]: SetProperty(TextViewerHeader,$LOCALIZE[31120],Home) SetProperty(TextViewerContent,$INFO[ListItem.Rating(themoviedb)]$INFO[ListItem.Votes(themoviedb), (, $LOCALIZE[205])],Home) ActivateWindow(1132) !String.IsEqual(ListItem.Rating(tmdb),0.0) $INFO[ListItem.Rating(metacritic)]$INFO[ListItem.Votes(metacritic), (, $LOCALIZE[31179])] MetaCritic: SetProperty(TextViewerHeader,MetaCritic,Home) SetProperty(TextViewerContent,$INFO[ListItem.Rating(metacritic)]$INFO[ListItem.Votes(metacritic), (, $LOCALIZE[205])],Home) ActivateWindow(1132) !String.IsEqual(ListItem.Rating(metacritic),0.0) $INFO[ListItem.Rating(tomatometerallcritics)]$INFO[ListItem.Votes(tomatometerallcritics), (, Reviews)] RottenTomatoes Critics: SetProperty(TextViewerHeader,tomatometerallcritics,Home) SetProperty(TextViewerContent,$INFO[ListItem.Rating(tomatometerallcritics)]$INFO[ListItem.Votes(tomatometerallcritics), (, $LOCALIZE[205])],Home) ActivateWindow(1132) !String.IsEqual(ListItem.Rating(tomatometerallcritics),0.0) $INFO[ListItem.Rating(tomatometerallaudience)]$INFO[ListItem.Votes(tomatometerallaudience), (, $LOCALIZE[205])] RottenTomatoes Audience: SetProperty(TextViewerHeader,tomatometerallaudience,Home) SetProperty(TextViewerContent,$INFO[ListItem.Rating(tomatometerallaudience)]$INFO[ListItem.Votes(tomatometerallaudience), (, $LOCALIZE[205])],Home) ActivateWindow(1132) !String.IsEqual(ListItem.Rating(tomatometerallaudience),0.0) $INFO[ListItem.Rating(tvdb)]$INFO[ListItem.Votes(tvdb), (, $LOCALIZE[205])] TVDb: SetProperty(TextViewerHeader,tvdb,Home) SetProperty(TextViewerContent,$INFO[ListItem.Rating(tvdb)]$INFO[ListItem.Votes(tvdb), (, $LOCALIZE[205])],Home) ActivateWindow(1132) !String.IsEqual(ListItem.Rating(tvdb),0.0) ]
Below is a nfo example of a movie and tvshow:
Beautiful Mind 2001
<rating name="tomatometerallcritics" max="10">
聽 聽 聽 聽 聽 聽 <value>7.4</value>
聽 聽 聽 聽 聽 聽 <votes>211</votes>
聽 聽 聽 聽 </rating>
聽 聽 聽 聽 <rating name="tomatometerallaudience" max="10">
聽 聽 聽 聽 聽 聽 <value>9.3</value>
聽 聽 聽 聽 聽 聽 <votes>490,541</votes>
聽 聽 聽 聽 </rating>
聽 聽 聽 聽 <rating name="themoviedb" max="10">
聽 聽 聽 聽 聽 聽 <value>7.8</value>
聽 聽 聽 聽 聽 聽 <votes>5,155</votes>
聽 聽 聽 聽 </rating>
聽 聽 聽 聽 <rating name="metacritic" max="10">
聽 聽 聽 聽 聽 聽 <value>7.2</value>
聽 聽 聽 聽 聽 聽 <votes>33</votes>
聽 聽 聽 聽 </rating>
聽 聽 聽 聽 <rating name="imdb" max="10" default="true">
聽 聽 聽 聽 聽 聽 <value>8.2</value>
聽 聽 聽 聽 聽 聽 <votes>759,434</votes>
聽 聽 聽 聽 </rating>
Game of thrones
<ratings>
聽 聽 聽 聽 <rating name="tvdb" max="10">
聽 聽 聽 聽 聽 聽 <value>9.5</value>
聽 聽 聽 聽 聽 聽 <votes>1,781</votes>
聽 聽 聽 聽 </rating>
聽 聽 聽 聽 <rating name="themoviedb" max="10">
聽 聽 聽 聽 聽 聽 <value>8.2</value>
聽 聽 聽 聽 聽 聽 <votes>4,902</votes>
聽 聽 聽 聽 </rating>
聽 聽 聽 聽 <rating name="imdb" max="10" default="true">
聽 聽 聽 聽 聽 聽 <value>9.5</value>
聽 聽 聽 聽 聽 聽 <votes>1,361,750</votes>
聽 聽 聽 聽 </rating>
聽 聽 聽 聽 <rating name="tomatometerallcritics" max="10">
聽 聽 聽 聽 聽 聽 <value>0.0</value>
聽 聽 聽 聽 聽 聽 <votes>9.4</votes>
聽 聽 聽 聽 </rating>
聽 聽 聽 聽 <rating name="tomatometerallaudience" max="10">
聽 聽 聽 聽 聽 聽 <value>9.4</value>
聽 聽 聽 聽 聽 聽 <votes>N/A</votes>
聽 聽 聽 聽 </rating>
聽 聽 </ratings>