From: Sergey M․ Date: Sat, 4 Feb 2017 11:52:11 +0000 (+0700) Subject: [ondemandkorea] Improve geo restriction detection and use geo bypass mechanism X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=01b1aa9ff408ce15b8bbea08dbc190f3282141a5;p=youtube-dl.git [ondemandkorea] Improve geo restriction detection and use geo bypass mechanism --- 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(