[ondemandkorea] Improve geo restriction detection and use geo bypass mechanism
[youtube-dl] / youtube_dl / extractor / ondemandkorea.py
index dcd157777514022a120e9aa446a6299f64518251..0c85d549eae76134337abed9eb1901ef4388258a 100644 (file)
@@ -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(