From 2f97cc615bdb788bf5c86c1132144ca491b820c3 Mon Sep 17 00:00:00 2001 From: pukkandan Date: Wed, 18 May 2022 14:06:41 +0530 Subject: [PATCH] [utils] `ISO3166Utils`: Add `EU` and `AP` Fixes https://github.com/yt-dlp/yt-dlp/pull/3302#discussion_r875528517 --- yt_dlp/utils.py | 3 +++ 1 file changed, 3 insertions(+) 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