[extractor/arte] Bug fix (#4769)

Closes #4768
Authored by: cgrigis
This commit is contained in:
cgrigis 2022-08-27 02:28:01 +02:00 committed by GitHub
parent a1af516259
commit 89e4d86171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,24 +95,24 @@ class ArteTVIE(ArteTVBaseIE):
# all obtained by exhaustive testing # all obtained by exhaustive testing
_COUNTRIES_MAP = { _COUNTRIES_MAP = {
'DE_FR': { 'DE_FR': (
'BL', 'DE', 'FR', 'GF', 'GP', 'MF', 'MQ', 'NC', 'BL', 'DE', 'FR', 'GF', 'GP', 'MF', 'MQ', 'NC',
'PF', 'PM', 'RE', 'WF', 'YT', 'PF', 'PM', 'RE', 'WF', 'YT',
}, ),
# with both of the below 'BE' sometimes works, sometimes doesn't # 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', 'AT', 'BL', 'CH', 'DE', 'FR', 'GF', 'GP', 'LI',
'MC', 'MF', 'MQ', 'NC', 'PF', 'PM', 'RE', 'WF', 'MC', 'MF', 'MQ', 'NC', 'PF', 'PM', 'RE', 'WF',
'YT', 'YT',
}, ),
'SAT': { 'SAT': (
'AD', 'AT', 'AX', 'BG', 'BL', 'CH', 'CY', 'CZ', 'AD', 'AT', 'AX', 'BG', 'BL', 'CH', 'CY', 'CZ',
'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GF', 'DE', 'DK', 'EE', 'ES', 'FI', 'FR', 'GB', 'GF',
'GR', 'HR', 'HU', 'IE', 'IS', 'IT', 'KN', 'LI', 'GR', 'HR', 'HU', 'IE', 'IS', 'IT', 'KN', 'LI',
'LT', 'LU', 'LV', 'MC', 'MF', 'MQ', 'MT', 'NC', 'LT', 'LU', 'LV', 'MC', 'MF', 'MQ', 'MT', 'NC',
'NL', 'NO', 'PF', 'PL', 'PM', 'PT', 'RE', 'RO', 'NL', 'NO', 'PF', 'PL', 'PM', 'PT', 'RE', 'RO',
'SE', 'SI', 'SK', 'SM', 'VA', 'WF', 'YT', 'SE', 'SI', 'SK', 'SM', 'VA', 'WF', 'YT',
}, ),
} }
def _real_extract(self, url): def _real_extract(self, url):