diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-09-03 22:29:47 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-09-03 22:29:49 +0200 |
| commit | af0e0577cc671ba3bd6332453826a5cd789cf915 (patch) | |
| tree | c644e64cd2b22c257559a6a5ce78d8518650dc0a /scripts | |
| parent | 1d13ce8be4df51e85b7222a7c9d357366c841a89 (diff) | |
Use ratingID rather than the Descriptor Label for metadata.v1.8.27
It's not clear whether this is right, but it certainly seems a lot
closer (e.g. for MPAA PG-13 the label was "Parents Strongly Cautioned",
which is definitely not what we want).
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/update-ratings | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-ratings b/scripts/update-ratings index 5e692235..97e480e4 100755 --- a/scripts/update-ratings +++ b/scripts/update-ratings @@ -25,5 +25,5 @@ with urllib.request.urlopen('https://www.movielabs.com/md/ratings/v2.4.8/CMR_Rat print(system.Region.RegionName.get_text().title(), file=g) print(system.Region.country.get_text(), file=g) for rating in system("Rating"): - print(rating.Descriptor.Label.get_text(), file=g) + print(rating['ratingID'], file=g) |
