aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcgrigis <20282170+cgrigis@users.noreply.github.com>2022-08-27 02:28:01 +0200
committerGitHub <noreply@github.com>2022-08-27 05:58:01 +0530
commit89e4d86171c7b7c997c77d4714542e0383bf0db0 (patch)
treef84ed6a971fea2020866ff923ef08db96dd3c31f
parenta1af516259127d4d82bae01088b654ff980bc863 (diff)
[extractor/arte] Bug fix (#4769)
Closes #4768 Authored by: cgrigis
-rw-r--r--yt_dlp/extractor/arte.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/yt_dlp/extractor/arte.py b/yt_dlp/extractor/arte.py
index 980d37849..25ecb4230 100644
--- a/yt_dlp/extractor/arte.py
+++ b/yt_dlp/extractor/arte.py
@@ -95,24 +95,24 @@ class ArteTVIE(ArteTVBaseIE):
# all obtained by exhaustive testing
_COUNTRIES_MAP = {
- 'DE_FR': {
+ 'DE_FR': (
'BL', 'DE', 'FR', 'GF', 'GP', 'MF', 'MQ', 'NC',
'PF', 'PM', 'RE', 'WF', 'YT',
- },
+ ),
# with both of the below 'BE' sometimes works, sometimes doesn't
- 'EUR_DE_FR': {
+ 'EUR_DE_FR': (
'AT', 'BL', 'CH', 'DE', 'FR', 'GF', 'GP', 'LI',
'MC', 'MF', 'MQ', 'NC', 'PF', 'PM', 'RE', 'WF',
'YT',
- },
- 'SAT': {
+ ),
+ 'SAT': (
'AD', 'AT', 'AX', 'BG', 'BL', 'CH', 'CY', 'CZ',
'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GF',
'GR', 'HR', 'HU', 'IE', 'IS', 'IT', 'KN', 'LI',
'LT', 'LU', 'LV', 'MC', 'MF', 'MQ', 'MT', 'NC',
'NL', 'NO', 'PF', 'PL', 'PM', 'PT', 'RE', 'RO',
'SE', 'SI', 'SK', 'SM', 'VA', 'WF', 'YT',
- },
+ ),
}
def _real_extract(self, url):