From 61fe9257d6f436479b512d7e6ad905d9f9b8cd58 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 20 May 2020 14:11:17 +0200 Subject: [PATCH 1/1] Set audio language. --- src/youtube/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/youtube/models.py b/src/youtube/models.py index ea51905..576bf49 100644 --- a/src/youtube/models.py +++ b/src/youtube/models.py @@ -56,7 +56,8 @@ class YouTube(models.Model): title=self.get_title(audiobook), description=self.get_description(audiobook), categoryId=self.category, - defaultLanguage='pl' + defaultLanguage='pl', + defaultAudioLanguage='pl', ), status=dict( privacyStatus=self.privacy_status, -- 2.20.1