v1.2.5 기본 파일명 설정 추가

기본 파일명 설정 추가
API에서 일부 키를 선택으로 변경
This commit is contained in:
joyfuI
2020-03-05 13:15:44 +09:00
parent 352c2eb73b
commit 8a9f08d9db
5 changed files with 18 additions and 12 deletions

View File

@@ -24,7 +24,8 @@ from .my_youtube_dl import Status
class Logic(object):
db_default = {
'temp_path': os.path.join(path_data, 'download_tmp'),
'save_path': os.path.join(path_data, 'download')
'save_path': os.path.join(path_data, 'download'),
'default_filename': '%(title)s-%(id)s.%(ext)s'
}
@staticmethod