Add detection for premium videos
This commit is contained in:
parent
cd9c62d1ca
commit
75b6ee6f97
@ -34,6 +34,9 @@ class OnDemandKoreaIE(InfoExtractor):
|
|||||||
if 'msg_block_01.png' in webpage:
|
if 'msg_block_01.png' in webpage:
|
||||||
raise ExtractorError('This content is not available in your region.', expected=True)
|
raise ExtractorError('This content is not available in your region.', expected=True)
|
||||||
|
|
||||||
|
if 'This video is only available to ODK PLUS members.' in webpage:
|
||||||
|
raise ExtractorError('This video is only available to ODK PLUS members.', expected=True)
|
||||||
|
|
||||||
title = self._og_search_title(webpage)
|
title = self._og_search_title(webpage)
|
||||||
thumbnail = self._og_search_thumbnail(webpage)
|
thumbnail = self._og_search_thumbnail(webpage)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user