mobj = re.match(self._VALID_URL, url)
video_id = mobj.group('id')
details_url = 'http://www.3sat.de/mediathek/xmlservice/web/beitragsDetails?ak=web&id=%s' % video_id
mobj = re.match(self._VALID_URL, url)
video_id = mobj.group('id')
details_url = 'http://www.3sat.de/mediathek/xmlservice/web/beitragsDetails?ak=web&id=%s' % video_id
- details_xml = self._download_webpage(details_url, video_id, note=u'Downloading video details')
- details_doc = xml.etree.ElementTree.fromstring(details_xml.encode('utf-8'))
+ details_doc = self._download_xml(details_url, video_id, note=u'Downloading video details')
return (qidx, prefer_http, format['video_bitrate'])
formats.sort(key=_sortkey)
return (qidx, prefer_http, format['video_bitrate'])
formats.sort(key=_sortkey)
'uploader': video_uploader,
'upload_date': upload_date,
}
'uploader': video_uploader,
'upload_date': upload_date,
}