aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 4a61abcc5..9a1b87304 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -2787,7 +2787,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
subreason = pemr.get('subreason')
if subreason:
subreason = clean_html(get_text(subreason))
- if subreason == 'The uploader has not made this video available in your country.':
+ if subreason.startswith('The uploader has not made this video available in your country'):
countries = microformat.get('availableCountries')
if not countries:
regions_allowed = search_meta('regionsAllowed')