Update cartoonnetwork.py
This commit is contained in:
parent
3b65a845f1
commit
ea41ca2336
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user