]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[discovery] extract series meta field(#21808)
authorRemita Amine <remitamine@gmail.com>
Thu, 8 Aug 2019 22:23:48 +0000 (23:23 +0100)
committerRemita Amine <remitamine@gmail.com>
Thu, 8 Aug 2019 22:23:58 +0000 (23:23 +0100)
youtube_dl/extractor/discovery.py

index 6287ca6856248432d7ffeaf477cc5fb3c9af58d9..6a2712cc50429b7297a9d4fe9e1ec2d80177986e 100644 (file)
@@ -94,6 +94,8 @@ class DiscoveryIE(DiscoveryGoBaseIE):
                 self._API_BASE_URL + 'content/videos',
                 display_id, 'Downloading content JSON metadata',
                 headers=headers, query={
+                    'embed': 'show.name',
+                    'fields': 'authenticated,description.detailed,duration,episodeNumber,id,name,parental.rating,season.number,show,tags',
                     'slug': display_id,
                     'show_slug': show_slug,
                 })[0]