Skip to content

Commit

Permalink
Resolves #5 (handle extension of video file)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anon-Exploiter authored Sep 2, 2022
1 parent 2ddeb5a commit 6276eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ine.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def download_video(course_name, content_uuid, complete_path, index):
video_name = f"{index} - {video_title}"
subs_name = video_name.replace(".mp4", ".srt").replace(".mov", ".srt")

elif "." not in video_title:
else:
video_name = f"{index} - {video_title}.mp4"
subs_name = f"{video_name}.srt"

Expand Down

0 comments on commit 6276eba

Please sign in to comment.