youtube-dl

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

commit 01b1aa9ff408ce15b8bbea08dbc190f3282141a5
parent ff4007891fde74212eb0898bb04c14b2de92ed03
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sat,  4 Feb 2017 18:52:11 +0700

[ondemandkorea] Improve geo restriction detection and use geo bypass mechanism

Diffstat:
Myoutube_dl/extractor/ondemandkorea.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 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(