projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f62a77b
)
[cartoonnetwork] add support Adobe Pass auth
author
Remita Amine
<remitamine@gmail.com>
Tue, 20 Sep 2016 17:51:29 +0000
(18:51 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Tue, 20 Sep 2016 17:52:00 +0000
(18:52 +0100)
youtube_dl/extractor/cartoonnetwork.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/cartoonnetwork.py
b/youtube_dl/extractor/cartoonnetwork.py
index 688a6375e2d66f490a0c3e2d9f706c44bd889e2f..086ec90c9bc8a606968e5f56d2bada8602ed1f35 100644
(file)
--- 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',
})