Update translation_api.py
Browse files- translation_api.py +1 -1
translation_api.py
CHANGED
@@ -84,7 +84,7 @@ def translate(input_text_path, output_text_path, source_lang='en', target_lang='
|
|
84 |
wtff(output_text_path, translated_lines)
|
85 |
return translated_lines
|
86 |
|
87 |
-
def downloading(video_url, target_lang='
|
88 |
try:
|
89 |
video_id = re.search(r"(?<=v=)[\w-]+", video_url)
|
90 |
if video_id:
|
|
|
84 |
wtff(output_text_path, translated_lines)
|
85 |
return translated_lines
|
86 |
|
87 |
+
def downloading(video_url, target_lang='jp'):
|
88 |
try:
|
89 |
video_id = re.search(r"(?<=v=)[\w-]+", video_url)
|
90 |
if video_id:
|