diff --git a/youtube_dl/extractor/kankids.py b/youtube_dl/extractor/kankids.py
index 19c9baf37..03051817c 100644
--- a/youtube_dl/extractor/kankids.py
+++ b/youtube_dl/extractor/kankids.py
@@ -35,7 +35,12 @@ class KanKidsIE(InfoExtractor):
webpage = self._download_webpage(url, series_id)
- series_title = self._html_search_regex(r'
(?P.+) \|', webpage, 'title')
+ title_pattern = r'(?P.+) \|'
+ series_title = re.search(title_pattern, webpage)
+ if not series_title:
+ series_title = re.search(title_pattern[:-1] + r'-', webpage)
+ if series_title:
+ series_title = series_title.group('title')
season = playlist_season if playlist_season else r'(?P\w+)'
content_dir = CONTENT_DIR + category + r'-main/'
@@ -47,7 +52,6 @@ class KanKidsIE(InfoExtractor):
r'.+title="(?P.+)"' # Title
, webpage))
# , 'Episode list')
- print('playlist:', playlist)
entries = []
content_dir = r'https://www.' + DOMAIN + content_dir