1 from __future__ import unicode_literals
8 class DreiSatIE(ZDFIE):
10 _VALID_URL = r'(?:https?://)?(?:www\.)?3sat\.de/mediathek/(?:index\.php|mediathek\.php)?\?(?:(?:mode|display)=[^&]+&)*obj=(?P<id>[0-9]+)$'
13 'url': 'http://www.3sat.de/mediathek/index.php?mode=play&obj=45918',
14 'md5': 'be37228896d30a88f315b638900a026e',
18 'title': 'Waidmannsheil',
19 'description': 'md5:cce00ca1d70e21425e72c86a98a56817',
20 'uploader': 'SCHWEIZWEIT',
21 'uploader_id': '100000210',
22 'upload_date': '20140913'
25 'skip_download': True, # m3u8 downloads
29 'url': 'http://www.3sat.de/mediathek/mediathek.php?mode=play&obj=51066',
30 'only_matching': True,
34 def _real_extract(self, url):
35 mobj = re.match(self._VALID_URL, url)
36 video_id = mobj.group('id')
37 details_url = 'http://www.3sat.de/mediathek/xmlservice/web/beitragsDetails?ak=web&id=%s' % video_id
38 return self.extract_from_xml_url(video_id, details_url)