From 92a17d28acaf329d7f69ddebe9ac20c136e910a3 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Sun, 24 Aug 2014 15:19:21 +0200 Subject: [PATCH] [wat] Make geolock a warning (Fixes #3579) --- youtube_dl/extractor/wat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/wat.py b/youtube_dl/extractor/wat.py index 1f330378a7..76744215f2 100644 --- a/youtube_dl/extractor/wat.py +++ b/youtube_dl/extractor/wat.py @@ -47,7 +47,8 @@ class WatIE(InfoExtractor): video_info = self.download_video_info(real_id) if video_info.get('geolock'): - raise ExtractorError('This content is not available in your area', expected=True) + self.report_warning( + 'This content is marked as not available in your area. Trying anyway ..') chapters = video_info['chapters'] first_chapter = chapters[0]