- 'title': 'Arcade Fire: Behind the Scenes at the Biggest Music Experiment Yet',
- }
- }
- _FEED_URL = 'http://all.mtvworldverticals.com/feed-xml/'
+ 'title': 'Article_mtv-movies-spotlight-pixels-teil-3_short-clips_part1',
+ 'description': 'MTV Movies Supercut',
+ },
+ 'params': {
+ # rtmp download
+ 'skip_download': True,
+ },
+ 'skip': 'Das Video kann zur Zeit nicht abgespielt werden.',
+ }]
+
+ def _real_extract(self, url):
+ video_id = self._match_id(url)
+
+ webpage = self._download_webpage(url, video_id)
+
+ playlist = self._parse_json(
+ self._search_regex(
+ r'window\.pagePlaylist\s*=\s*(\[.+?\]);\n', webpage, 'page playlist'),
+ video_id)
+
+ def _mrss_url(item):
+ return item['mrss'] + item.get('mrssvars', '')
+
+ # news pages contain single video in playlist with different id
+ if len(playlist) == 1:
+ return self._get_videos_info_from_url(_mrss_url(playlist[0]), video_id)
+
+ for item in playlist:
+ item_id = item.get('id')
+ if item_id and compat_str(item_id) == video_id:
+ return self._get_videos_info_from_url(_mrss_url(item), video_id)