diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-18 14:06:41 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-05-19 20:05:26 +0530 |
commit | 2f97cc615bdb788bf5c86c1132144ca491b820c3 (patch) | |
tree | 2d60f96e51644410269749837dba97bfa6bab495 /yt_dlp/utils.py | |
parent | 2dd5a2e3a1c0fad8441f8e9c7eb77315afcb075b (diff) | |
download | hypervideo-pre-2f97cc615bdb788bf5c86c1132144ca491b820c3.tar.lz hypervideo-pre-2f97cc615bdb788bf5c86c1132144ca491b820c3.tar.xz hypervideo-pre-2f97cc615bdb788bf5c86c1132144ca491b820c3.zip |
[utils] `ISO3166Utils`: Add `EU` and `AP`
Fixes https://github.com/yt-dlp/yt-dlp/pull/3302#discussion_r875528517
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r-- | yt_dlp/utils.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index f02f71177..41157f5de 100644 --- a/yt_dlp/utils.py +++ b/yt_dlp/utils.py @@ -4166,6 +4166,9 @@ class ISO3166Utils: 'YE': 'Yemen', 'ZM': 'Zambia', 'ZW': 'Zimbabwe', + # Not ISO 3166 codes, but used for IP blocks + 'AP': 'Asia/Pacific Region', + 'EU': 'Europe', } @classmethod |