'title':'Tim and Eric Awesome Show Great Job! - Dr. Steve Brule, For Your Wine',
'description':'Dr. Brule reports live from Wine Country with a special report on wines. \r\nWatch Tim and Eric Awesome Show Great Job! episode #20, "Embarrassed" on Adult Swim.\r\n\r\n',
},
}
],
'info_dict':{
'id':'sY3cMUR_TbuE4YmdjzbIcQ',
'title':'Tim and Eric Awesome Show Great Job! - Dr. Steve Brule, For Your Wine',
'description':'Dr. Brule reports live from Wine Country with a special report on wines. \r\nWatch Tim and Eric Awesome Show Great Job! episode #20, "Embarrassed" on Adult Swim.\r\n\r\n',
},
}]
}]
@staticmethod
@staticmethod
@ -80,6 +97,7 @@ class AdultSwimIE(InfoExtractor):
forvideoincollection.get('videos'):
forvideoincollection.get('videos'):
ifvideo.get('slug')==slug:
ifvideo.get('slug')==slug:
returncollection,video
returncollection,video
returnNone,None
def_real_extract(self,url):
def_real_extract(self,url):
mobj=re.match(self._VALID_URL,url)
mobj=re.match(self._VALID_URL,url)
@ -90,28 +108,30 @@ class AdultSwimIE(InfoExtractor):
webpage=self._download_webpage(url,episode_path)
webpage=self._download_webpage(url,episode_path)
# Extract the value of `bootstrappedData` from the Javascript in the page.
# Extract the value of `bootstrappedData` from the Javascript in the page.