We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c4e105 commit bf29134Copy full SHA for bf29134
1 file changed
tools/add_captions_from_file.py
@@ -9,7 +9,7 @@
9
from zeeguu.core.model.video import Video
10
from zeeguu.core.model.caption import Caption
11
from zeeguu.api.app import create_app
12
-from zeeguu.core.youtube_api.youtube_api import get_captions_from_file
+from zeeguu.core.youtube_api.youtube_api import get_captions_from_json
13
14
15
app = create_app()
@@ -22,7 +22,7 @@
22
23
# For each video with broken status 1, check if it has captions in captions.json
24
for video in videos_with_broken_status_1:
25
- captions = get_captions_from_file(video.video_unique_key)
+ captions = get_captions_from_json(video.video_unique_key)
26
if captions:
27
# Add captions from captions.json
28
try:
0 commit comments