aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/cartoonnetwork.py
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor/cartoonnetwork.py')
-rw-r--r--youtube_dl/extractor/cartoonnetwork.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/youtube_dl/extractor/cartoonnetwork.py b/youtube_dl/extractor/cartoonnetwork.py
index 688a6375e..086ec90c9 100644
--- a/youtube_dl/extractor/cartoonnetwork.py
+++ b/youtube_dl/extractor/cartoonnetwork.py
@@ -33,4 +33,10 @@ class CartoonNetworkIE(TurnerBaseIE):
'media_src': 'http://androidhls-secure.cdn.turner.com/toon/big',
'tokenizer_src': 'http://www.cartoonnetwork.com/cntv/mvpd/processors/services/token_ipadAdobe.do',
},
+ }, {
+ 'url': url,
+ 'site_name': 'CartoonNetwork',
+ 'auth_required': self._search_regex(
+ r'_cnglobal\.cvpFullOrPreviewAuth\s*=\s*(true|false);',
+ webpage, 'auth required', default='false') == 'true',
})