mirror of
https://cdm-project.com/Download-Tools/udemy-downloader.git
synced 2025-04-30 04:04:27 +02:00
Revert "Merge branch 'master' into feat_aria2c"
This reverts commit e6dcde0335e8fdd7278dc72e9233034a5efc2748, reversing changes made to 1ad4f1eddee0e34d028e3e74bf331a92a8388a36.
This commit is contained in:
parent
e6dcde0335
commit
9f3bda6c6c
@ -1,12 +1,8 @@
|
||||
# Udemy Downloader with DRM support
|
||||
|
||||
[](https://forthebadge.com)
|
||||
[](https://forthebadge.com)
|
||||
[](https://forthebadge.com)
|
||||
[](https://forthebadge.com)
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
# NOTE
|
||||
|
||||
|
@ -6,8 +6,8 @@ from pysrt.srttime import SubRipTime
|
||||
|
||||
def convert(directory, filename):
|
||||
index = 0
|
||||
vtt_filepath = os.path.join(directory, f"{filename}.vtt")
|
||||
srt_filepath = os.path.join(directory, f"{filename}.srt")
|
||||
vtt_filepath = os.path.join(directory, filename + ".vtt")
|
||||
srt_filepath = os.path.join(directory, filename + ".srt")
|
||||
srt = open(srt_filepath, "w")
|
||||
|
||||
for caption in WebVTT().read(vtt_filepath):
|
||||
|
Loading…
x
Reference in New Issue
Block a user