diff options
author | Remita Amine <remitamine@gmail.com> | 2016-09-20 18:51:29 +0100 |
---|---|---|
committer | Remita Amine <remitamine@gmail.com> | 2016-09-20 18:52:00 +0100 |
commit | 1ae0ae5db0bc9c388de970c71880e2f3dc400cc3 (patch) | |
tree | 7225f8840ed01e1fe01f47a6402d3d187e8ab5df /youtube_dl/extractor/cartoonnetwork.py | |
parent | f62a77b99a73ed3acf8406efaa34d08c73682be3 (diff) |
[cartoonnetwork] add support Adobe Pass auth
Diffstat (limited to 'youtube_dl/extractor/cartoonnetwork.py')
-rw-r--r-- | youtube_dl/extractor/cartoonnetwork.py | 6 |
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', }) |