-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
executable file
·50 lines (40 loc) · 2.24 KB
/
Copy pathconfig.yaml
File metadata and controls
executable file
·50 lines (40 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# only include a line if you provide a value for that setting
# else it can result in an error
# Twitch API client id
# get one by creating an application on https://dev.twitch.tv/
# client-id: ""
# urls of the videos to download
# urls: ["", ""]
# channels to search for and get the VOD videos of
# channels: ["markettraderstv"]
# collection ids can be obtained by using the show-collections setting
# if the collection ids are given, the previous 'channels' setting will be ignored
# collection-ids: ["6qCfrgFdrRUiaA", "Nf_ogQAuchXzkw", "Ge0w6f2taxViDg", "Sa98sgYuchVoAQ"]
# only shows all available collections and their ids for a Twitch channel instead of downloading videos
# show-collections: False
# save the video urls to a file
# save-urls: False
# path where the video files will be saved
# output-dir: "downloads"
# rename existing videos using the given template
# rename-existing: False
# rename-outtmpl: '%(download_dir)s/%(uploader)s/%(collection_name)s/%(upload_date)s - %(title)s.%(ext)s'
# percent ratio of how similar the name of an existing file has to be to be considered for the rename
# match-ratio: 70
# Youtube-DL options
# you can configure every option except for the output template (for that you have to edit the source code)
# reference: https://github.com/ytdl-org/youtube-dl/blob/3e4cedf9e8cd3157df2457df7274d0c842421945/youtube_dl/YoutubeDL.py#L137-L312
ydl-options: {
"format": "best",
# Some of the outtmpl options are specific to this program and not part of youtube-dl
"outtmpl": '%(download_dir)s/%(uploader)s/%(collection_name)s/%(video_index)s - %(title)s.%(ext)s',
# This is a special output template added by Twitchloader, that will only be used when downloading single videos (--urls option)
"urls_outtmpl": '%(download_dir)s/%(uploader)s/%(title)s.%(ext)s',
# Uses a text file to keep track of already downloaded files.
# Videos already present in the file are not downloaded again.
"download_archive": "archive.txt",
# "cookiefile": "cookies.txt", # Only needed to download subscriber-only videos
# "username": "", # Only needed to download subscriber-only videos
# "password": "", # Only needed to download subscriber-only videos
# "fixup": "warn", # to ignore 'malformed aac stream' errors
}