projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff40078
)
[ondemandkorea] Improve geo restriction detection and use geo bypass mechanism
author
Sergey M․
<dstftw@gmail.com>
Sat, 4 Feb 2017 11:52:11 +0000
(18:52 +0700)
committer
Sergey M
<dstftw@gmail.com>
Sat, 18 Feb 2017 21:10:08 +0000
(
05:10
+0800)
youtube_dl/extractor/ondemandkorea.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ondemandkorea.py
b/youtube_dl/extractor/ondemandkorea.py
index dcd157777514022a120e9aa446a6299f64518251..0c85d549eae76134337abed9eb1901ef4388258a 100644
(file)
--- 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(