mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-14 05:02:52 +08:00
[ondemandkorea] Improve geo restriction detection and use geo bypass mechanism
This commit is contained in:
parent
61c8a59e35
commit
3b69f74fbb
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user