def _extract_video(self, video_id):
data = compat_urllib_parse.urlencode({'vid': video_id})
url_doc = self._download_xml('http://v.iask.com/v_play.php?%s' % data,
def _extract_video(self, video_id):
data = compat_urllib_parse.urlencode({'vid': video_id})
url_doc = self._download_xml('http://v.iask.com/v_play.php?%s' % data,
video_id = mobj.group('id')
if mobj.group('token') is not None:
# The video id is in the redirected url
video_id = mobj.group('id')
if mobj.group('token') is not None:
# The video id is in the redirected url