Explorar el Código

[kaltura] limit requested MediaEntry fields

Remita Amine hace 6 años
padre
commit
9b27a78a88
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      youtube_dl/extractor/kaltura.py

+ 2 - 0
youtube_dl/extractor/kaltura.py

@@ -192,6 +192,8 @@ class KalturaIE(InfoExtractor):
                 'entryId': video_id,
                 'service': 'baseentry',
                 'ks': '{1:result:ks}',
+                'responseProfile:fields': 'createdAt,dataUrl,duration,name,plays,thumbnailUrl,userId',
+                'responseProfile:type': 1,
             },
             {
                 'action': 'getbyentryid',