Skip to content

Commit 4ba78e2

Browse files
committed
reformat: move .vtt to data/captions folder
1 parent 8d611cc commit 4ba78e2

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
*.vtt
12

23
# Virtualenv
34
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/

data/readme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Folder for storing downloaded captions

download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# File Options
4141
'restrictfilenames': True,
4242
'nooverwrites': True,
43-
'outtmpl': os.path.join(DATA_DIR, "%(playlist_index)s.%(ext)s"),
43+
'outtmpl': os.path.join(DATA_DIR, "captions", "%(playlist_index)s.%(ext)s"),
4444

4545
# Misc. Options
4646
'playlistrandom': True,

0 commit comments

Comments
 (0)