Skip to content

Commit

Permalink
Removing the invalid characters in filename
Browse files Browse the repository at this point in the history
  • Loading branch information
sahilsehwag committed Apr 23, 2020
1 parent 9ac52d9 commit 23c84d2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ const downloadCourse = async (courseContent) => {

const link = await getVideoURL(id);
const filePath = await getFilePath(
courseName,
authorName,
sectionName,
sectionIndex,
videoName,
videoIndex
nameToFilename(courseName),
nameToFilename(authorName),
nameToFilename(sectionName),
nameToFilename(sectionIndex),
nameToFilename(videoName),
nameToFilename(videoIndex)
);

await downloadVideo(link, filePath);
Expand Down

0 comments on commit 23c84d2

Please sign in to comment.