瀏覽代碼

[orf:radio] Extract series (#20012)

Lukas Anzinger 6 年之前
父節點
當前提交
0146c6cde6
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      youtube_dl/extractor/orf.py

+ 2 - 1
youtube_dl/extractor/orf.py

@@ -176,7 +176,8 @@ class ORFRadioIE(InfoExtractor):
                 'description': subtitle,
                 'description': subtitle,
                 'duration': (info['end'] - info['start']) / 1000,
                 'duration': (info['end'] - info['start']) / 1000,
                 'timestamp': 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']]
         entries = [extract_entry_dict(t, data['title'], data['subtitle']) for t in data['streams']]