diff --git a/youtube_dl/extractor/megacartoons.py b/youtube_dl/extractor/megacartoons.py index 999594e1e..c2789f4e9 100644 --- a/youtube_dl/extractor/megacartoons.py +++ b/youtube_dl/extractor/megacartoons.py @@ -21,18 +21,21 @@ class MegaCartoonsIE(InfoExtractor): } def _real_extract(self, url): + # ID is equal to the episode name video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) # The id is equal to the title title = video_id - # Video and thumbnail are + + # Video data is stored in a json -> extract it from the raw html url_json = json.loads(self._html_search_regex(r'
(?P