[pbs] Add support for video ratings
This commit is contained in:
parent
cb9722cb3f
commit
a1a530b067
3 changed files with 20 additions and 8 deletions
|
@ -1289,3 +1289,12 @@ if sys.version_info < (3, 0) and sys.platform == 'win32':
|
|||
return getpass.getpass(prompt, *args, **kwargs)
|
||||
else:
|
||||
compat_getpass = getpass.getpass
|
||||
|
||||
|
||||
US_RATINGS = {
|
||||
'G': 0,
|
||||
'PG': 10,
|
||||
'PG-13': 13,
|
||||
'R': 16,
|
||||
'NC': 18,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue