![]() ![]() At his time of writing (August 2020) these languages are supported: ![]() These languages have to be supported to DeepL ofcourse. Here you choose the output languages you want to the video to be translated into. They are the bold characters from this example: fregObNcHC8 This id can be derived from the video url. Here you need to fill in the YouTube video ID. Here you need to enter your DeepL API authentication key which you aquired in 1.1.ĭeepLkey='xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' Everytime variables This file should be put in same the same folder as the script.Ĭlient_secrets_file = 'client_secret_.json' Here you need to fill in the name of your Youtube API Oauth authentication credential file(json) which you aquired in 1.2. These variables need to be edited only the first time you run the script: The variables can be found in the beginning of the script. ![]() You can use your prefered text editor for this although I recommend Visual Studio Code. ![]() Pip3 install -upgrade google-auth-oauthlib google-auth-httplib2 google-api-python-client requests 2.2 Edit script variablesĪ couple of variables in the script need to be adjusted. How to use itĪ couple of python modules are required to run the script. To obtain one please follow instructions here: ( ) 1.3 Python 3 You need a YouTube API Oauth authentication credential file(json). €20,00 per 1.000.000 translated charactersġ.2 YouTube API Oauth authentication credential file(json).You need the plan "For developers" that at this time of writing(August 2020) costs: YouTube API Oauth authentication credential file(json)Ī DeepL API authentication key can be obtained here: ( ).Upload the translated captions to the YouTube video.Translate these into any language DeepL supports.Download English captions from a YouTube video.This script allows you to leverage both the YouTube and DeepL API to: ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |