mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-25 01:01:39 +00:00
[gdcvault] Restore akamai host for rtmp videos
This commit is contained in:
parent
591ab1dff9
commit
4432db35d9
1 changed files with 3 additions and 2 deletions
|
@ -66,9 +66,10 @@ class GDCVaultIE(InfoExtractor):
|
||||||
|
|
||||||
def _parse_flv(self, xml_description):
|
def _parse_flv(self, xml_description):
|
||||||
video_formats = []
|
video_formats = []
|
||||||
|
akamai_url = xml_description.find('./metadata/akamaiHost').text
|
||||||
slide_video_path = xml_description.find('./metadata/slideVideo').text
|
slide_video_path = xml_description.find('./metadata/slideVideo').text
|
||||||
video_formats.append({
|
video_formats.append({
|
||||||
'url': 'rtmp://%s/ondemand?ovpfv=1.1' % 'fms.digitallyspeaking.com/cfx/st',
|
'url': 'rtmp://%s/ondemand?ovpfv=1.1' % akamai_url,
|
||||||
'play_path': remove_end(slide_video_path, '.flv'),
|
'play_path': remove_end(slide_video_path, '.flv'),
|
||||||
'ext': 'flv',
|
'ext': 'flv',
|
||||||
'format_note': 'slide deck video',
|
'format_note': 'slide deck video',
|
||||||
|
@ -78,7 +79,7 @@ class GDCVaultIE(InfoExtractor):
|
||||||
})
|
})
|
||||||
speaker_video_path = xml_description.find('./metadata/speakerVideo').text
|
speaker_video_path = xml_description.find('./metadata/speakerVideo').text
|
||||||
video_formats.append({
|
video_formats.append({
|
||||||
'url': 'rtmp://%s/ondemand?ovpfv=1.1' % 'fms.digitallyspeaking.com/cfx/st',
|
'url': 'rtmp://%s/ondemand?ovpfv=1.1' % akamai_url,
|
||||||
'play_path': remove_end(speaker_video_path, '.flv'),
|
'play_path': remove_end(speaker_video_path, '.flv'),
|
||||||
'ext': 'flv',
|
'ext': 'flv',
|
||||||
'format_note': 'speaker video',
|
'format_note': 'speaker video',
|
||||||
|
|
Loading…
Reference in a new issue