- video_info_page = self._download_webpage('http://p2s.cl.kankan.com/getCdnresource_flv?gcid=%s' % gcid,
- video_id, u'Downloading video url info')
- ip = self._search_regex(r'ip:"(.+?)"', video_info_page, u'video url ip')
- path = self._search_regex(r'path:"(.+?)"', video_info_page, u'video url path')
- param1 = self._search_regex(r'param1:(\d+)', video_info_page, u'param1')
- param2 = self._search_regex(r'param2:(\d+)', video_info_page, u'param2')
+ info_url = 'http://p2s.cl.kankan.com/getCdnresource_flv?gcid=%s' % gcid
+ video_info_page = self._download_webpage(
+ info_url, video_id, 'Downloading video url info')
+ ip = self._search_regex(r'ip:"(.+?)"', video_info_page, 'video url ip')
+ path = self._search_regex(r'path:"(.+?)"', video_info_page, 'video url path')
+ param1 = self._search_regex(r'param1:(\d+)', video_info_page, 'param1')
+ param2 = self._search_regex(r'param2:(\d+)', video_info_page, 'param2')