aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ondemandkorea.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-02-04 18:52:11 +0700
committerSergey M <dstftw@gmail.com>2017-02-19 05:10:08 +0800
commit01b1aa9ff408ce15b8bbea08dbc190f3282141a5 (patch)
tree6e08ac40ab6f2795cabf31be0d25d519c1bc8f0d /youtube_dl/extractor/ondemandkorea.py
parentff4007891fde74212eb0898bb04c14b2de92ed03 (diff)
[ondemandkorea] Improve geo restriction detection and use geo bypass mechanism
Diffstat (limited to 'youtube_dl/extractor/ondemandkorea.py')
-rw-r--r--youtube_dl/extractor/ondemandkorea.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ondemandkorea.py b/youtube_dl/extractor/ondemandkorea.py
index dcd157777..0c85d549e 100644
--- a/youtube_dl/extractor/ondemandkorea.py
+++ b/youtube_dl/extractor/ondemandkorea.py
@@ -35,7 +35,8 @@ class OnDemandKoreaIE(InfoExtractor):
if 'msg_block_01.png' in webpage:
self.raise_geo_restricted(
- 'This content is not available in your region')
+ msg='This content is not available in your region',
+ countries=['US', 'CA'])
if 'This video is only available to ODK PLUS members.' in webpage:
raise ExtractorError(