From ea41ca233622363898a603975b9815414232e50f Mon Sep 17 00:00:00 2001 From: TheDaChicken Date: Fri, 7 Sep 2018 15:12:31 -0700 Subject: [PATCH] Update cartoonnetwork.py --- youtube_dl/extractor/cartoonnetwork.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/youtube_dl/extractor/cartoonnetwork.py b/youtube_dl/extractor/cartoonnetwork.py index 1cfe95184..e4e16b3cb 100644 --- a/youtube_dl/extractor/cartoonnetwork.py +++ b/youtube_dl/extractor/cartoonnetwork.py @@ -29,9 +29,9 @@ class CartoonNetworkIE(TurnerBaseIE): title = self._html_search_regex(r'[^>]+.episodeTitle = "(.+?)"', webpage, 'title') auth = self._html_search_regex(r'[^>]+currentVideo.authType = "(.+?)"', webpage, 'authType') if "auth" in auth: - auth_required = '' + auth_required = 'true' if "unauth" in auth: - auth_required = 'true' #Auth needs to be first due to Auth being in unauth. :/ + auth_required = '' #Auth needs to be first due to Auth being in unauth. :/ #print(auth_required) videoType = self._html_search_regex(r'[^>]+.videoType = "(.+?)"', webpage, 'videoType') if 'short' in videoType: