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

pull/10807/head
Sergey M․ 2017-02-04 18:52:11 +07:00 committed by Sergey M
parent ff4007891f
commit 01b1aa9ff4
1 changed files with 2 additions and 1 deletions

View File

@ -35,7 +35,8 @@ class OnDemandKoreaIE(InfoExtractor):
if 'msg_block_01.png' in webpage: if 'msg_block_01.png' in webpage:
self.raise_geo_restricted( 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: if 'This video is only available to ODK PLUS members.' in webpage:
raise ExtractorError( raise ExtractorError(