diff --git a/youtube_dl/extractor/megacartoons.py b/youtube_dl/extractor/megacartoons.py index 5218c034e..80c17c100 100644 --- a/youtube_dl/extractor/megacartoons.py +++ b/youtube_dl/extractor/megacartoons.py @@ -2,6 +2,7 @@ from __future__ import unicode_literals import json +from ..utils import url_or_none from .common import InfoExtractor @@ -16,12 +17,7 @@ class MegaCartoonsIE(InfoExtractor): 'title': 'Help Wanted', 'ext': 'mp4', 'thumbnail': r're:^https?://.*\.jpg$', - 'description': 'Help Wanted: Encouraged by his best friend, Patrick Starfish, ' - 'SpongeBob overcomes his fears and finally applies for that ' - 'dream job as a fry cook at the Krusty Krab. Challenged by the ' - 'owner, Mr. Krabs, and his assistant Squidward, to prove himself ' - 'worthy of the job, SpongeBob rises to the occasion, with the help ' - 'of one very special spatula, by feeding a sea of ravenous anchovies.' + 'description': 'md5:2c909daa6c6cb16b2d4d791dd1a31632' } } @@ -36,17 +32,20 @@ class MegaCartoonsIE(InfoExtractor): # Video data is stored in a json -> extract it from the raw html url_json = json.loads(self._html_search_regex(r'
(?P