]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[cbc] use geo bypass mechanism
authorRemita Amine <remitamine@gmail.com>
Tue, 21 Feb 2017 16:50:53 +0000 (17:50 +0100)
committerRemita Amine <remitamine@gmail.com>
Tue, 21 Feb 2017 16:52:50 +0000 (17:52 +0100)
youtube_dl/extractor/cbc.py

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