+ playlist_id = re.search(r'(?:gogoVideo)\(\d+,"?(?P<playlist_id>.*)"', webpage, re.MULTILINE).group('playlist_id')
+ playlist_url = 'http://www.gamekings.tv/wp-content/themes/gk2010/rss_playlist.php?id=' + playlist_id
+ playlist_rss = self._download_xml(playlist_url, playlist_id)
+
+
+ NS_MAP = {
+ 'jwplayer': 'http://rss.jwpcdn.com/'
+ }
+
+ item = playlist_rss.find('./channel/item')
+
+ image = xpath_text(item, xpath_with_ns('./jwplayer:image', NS_MAP), 'image')
+ file_node = item.find(xpath_with_ns('./jwplayer:source', NS_MAP))
+
+ video_url = file_node.get('file')