youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 92a17d28acaf329d7f69ddebe9ac20c136e910a3
parent 5f90042bd65290d3dc70956f29fbf1d3b9fcb803
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Sun, 24 Aug 2014 15:19:21 +0200

[wat] Make geolock a warning (Fixes #3579)

Diffstat:
Myoutube_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 @@ -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]