- 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')
- video = re.search(r'[0-9]+', video_url)
- video_id = video.group(0)
-
- # Todo: Add medium format
+ thumbnail = xpath_text(item, xpath_with_ns('./jwplayer:image', NS_MAP), 'thumbnail')
+ video_url = item.find(xpath_with_ns('./jwplayer:source', NS_MAP)).get('file')