Skip to content

A feature-rich command-line audio/video downloader

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

pukkandan2f97cc615bdb
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py
index f02f711770..41157f5de4 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