[utils] `ISO3166Utils`: Add `EU` and `AP`

Fixes https://github.com/yt-dlp/yt-dlp/pull/3302#discussion_r875528517
This commit is contained in:
pukkandan 2022-05-18 14:06:41 +05:30
parent 2dd5a2e3a1
commit 2f97cc615b
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39
1 changed files with 3 additions and 0 deletions

View File

@ -4166,6 +4166,9 @@ class ISO3166Utils:
'YE': 'Yemen', 'YE': 'Yemen',
'ZM': 'Zambia', 'ZM': 'Zambia',
'ZW': 'Zimbabwe', 'ZW': 'Zimbabwe',
# Not ISO 3166 codes, but used for IP blocks
'AP': 'Asia/Pacific Region',
'EU': 'Europe',
} }
@classmethod @classmethod