projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f90042
)
[wat] Make geolock a warning (Fixes #3579)
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 24 Aug 2014 13:19:21 +0000
(15:19 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 24 Aug 2014 13:19:21 +0000
(15:19 +0200)
youtube_dl/extractor/wat.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/wat.py
b/youtube_dl/extractor/wat.py
index 1f330378a7fbd72bd23c92747930e85e9145e452..76744215f2cf2e86316393e45d4a9b31fb68e8ee 100644
(file)
--- 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]