+ if 'playlist' not in config:
+ if 'vmapUrl' in config:
+ webpage = self._download_webpage(config['vmapUrl'], video_id + ' (xml)')
+ video_url = self._search_regex(
+ r'<MediaFile>\s*<!\[CDATA\[(https?://.+?)\]\]>', webpage, 'data player config (xml)')
+ f = {
+ 'url': video_url,
+ }
+ ext = re.search(r'\.([a-z0-9]{2,4})(\?.+)?$', video_url)
+ if ext:
+ f['ext'] = ext.group(1)
+ formats.append(f)
+ break # same video regardless of UA
+ continue