- def _real_extract(self, url):
- video_id = self._match_id(url)
-
- # XXX: A generic brightcove function?
- json_data = self._download_json(
- 'http://api.brightcove.com/services/library', video_id,
- query={
- 'command': 'find_video_by_id',
- 'video_id': video_id,
- 'video_fields': 'id,name,videoStillURL,HLSURL,FLVURL',
- 'media_delivery': 'http',
- # token extracted from http://tds.lifeway.com/v1/trainingdeliverysystem/courses/player_test.js
- 'token': 'MrrNjVSP15NGY3R0gipp-lvclofucPXKD3skFouJMjZXM3KOS2ch0g..',
- })
-
- formats = []