1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-09-06 10:59:36 +02:00

[orf:radio] Extract series (#20012)

This commit is contained in:
Lukas Anzinger 2019-03-17 03:57:02 +01:00 committed by Sergey M
parent ddff25c5d1
commit 0146c6cde6

View File

@ -176,7 +176,8 @@ def extract_entry_dict(info, title, subtitle):
'description': subtitle,
'duration': (info['end'] - info['start']) / 1000,
'timestamp': info['start'] / 1000,
'ext': 'mp3'
'ext': 'mp3',
'series': data.get('programTitle')
}
entries = [extract_entry_dict(t, data['title'], data['subtitle']) for t in data['streams']]