1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 02:14:32 +01:00

[cbc] use geo bypass mechanism

This commit is contained in:
Remita Amine 2017-02-21 17:50:53 +01:00
parent 33dc173cdc
commit 86466a8b6f

View File

@ -195,6 +195,7 @@ class CBCPlayerIE(InfoExtractor):
class CBCWatchBaseIE(InfoExtractor): class CBCWatchBaseIE(InfoExtractor):
_device_id = None _device_id = None
_device_token = None _device_token = None
_GEO_COUNTRIES = ['CA']
_API_BASE_URL = 'https://api-cbc.cloud.clearleap.com/cloffice/client/' _API_BASE_URL = 'https://api-cbc.cloud.clearleap.com/cloffice/client/'
_NS_MAP = { _NS_MAP = {
'media': 'http://search.yahoo.com/mrss/', 'media': 'http://search.yahoo.com/mrss/',