mobj = re.search(r"photo_secret: '(\w+)'", webpage)
if mobj is None:
raise ExtractorError(u'Unable to extract video secret')
secret = mobj.group(1)
first_url = 'https://secure.flickr.com/apps/video/video_mtl_xml.gne?v=x&photo_id=' + video_id + '&secret=' + secret + '&bitrate=700&target=_self'
mobj = re.search(r"photo_secret: '(\w+)'", webpage)
if mobj is None:
raise ExtractorError(u'Unable to extract video secret')
secret = mobj.group(1)
first_url = 'https://secure.flickr.com/apps/video/video_mtl_xml.gne?v=x&photo_id=' + video_id + '&secret=' + secret + '&bitrate=700&target=_self'