We said that we were trying to extract the title of the video.
# Extract video URL
mobj = re.search(r'flv_url=(.+?)&', webpage)
if mobj is None:
# Extract video URL
mobj = re.search(r'flv_url=(.+?)&', webpage)
if mobj is None:
- self._downloader.trouble(u'ERROR: unable to extract video title')
+ self._downloader.trouble(u'ERROR: unable to extract video url')
return
video_url = urllib2.unquote(mobj.group(1).decode('utf-8'))
return
video_url = urllib2.unquote(mobj.group(1).decode('utf-8'))