|
|
@ -1039,15 +1039,15 @@ class MetacafeIE(InfoExtractor):
|
|
|
|
return
|
|
|
|
return
|
|
|
|
mediaURL = urllib.unquote(mobj.group(1))
|
|
|
|
mediaURL = urllib.unquote(mobj.group(1))
|
|
|
|
|
|
|
|
|
|
|
|
#mobj = re.search(r'(?m)&gdaKey=(.*?)&', webpage)
|
|
|
|
# Extract gdaKey if available
|
|
|
|
#if mobj is None:
|
|
|
|
mobj = re.search(r'(?m)&gdaKey=(.*?)&', webpage)
|
|
|
|
# self._downloader.trouble(u'ERROR: unable to extract gdaKey')
|
|
|
|
if mobj is None:
|
|
|
|
# return
|
|
|
|
|
|
|
|
#gdaKey = mobj.group(1)
|
|
|
|
|
|
|
|
#
|
|
|
|
|
|
|
|
#video_url = '%s?__gda__=%s' % (mediaURL, gdaKey)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
video_url = mediaURL
|
|
|
|
video_url = mediaURL
|
|
|
|
|
|
|
|
#self._downloader.trouble(u'ERROR: unable to extract gdaKey')
|
|
|
|
|
|
|
|
#return
|
|
|
|
|
|
|
|
else:
|
|
|
|
|
|
|
|
gdaKey = mobj.group(1)
|
|
|
|
|
|
|
|
video_url = '%s?__gda__=%s' % (mediaURL, gdaKey)
|
|
|
|
|
|
|
|
|
|
|
|
mobj = re.search(r'(?im)<title>(.*) - Video</title>', webpage)
|
|
|
|
mobj = re.search(r'(?im)<title>(.*) - Video</title>', webpage)
|
|
|
|
if mobj is None:
|
|
|
|
if mobj is None:
|
|
|
|