aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-08-24 15:19:21 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2014-08-24 15:19:21 +0200
commit92a17d28acaf329d7f69ddebe9ac20c136e910a3 (patch)
treedc753860f4e7c02ed68f8ee1a545662cf7976654 /youtube_dl
parent5f90042bd65290d3dc70956f29fbf1d3b9fcb803 (diff)
[wat] Make geolock a warning (Fixes #3579)
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/wat.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/wat.py b/youtube_dl/extractor/wat.py
index 1f330378a..76744215f 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]