]> Arthur Taft Gitweb - yt-dlp-wrapper.git/blob - universal/directories.py
create universal python script
[yt-dlp-wrapper.git] / universal / directories.py
1 from pathlib import PurePath,Path
2
3 class Directories():
4     def __init__(self):
5         self.base_dir = Path.cwd()
6         self.audio_dir = Path.joinpath(self.base_dir, 'audio')
7         self.video_dir = Path.joinpath(self.base_dir, 'video')
8
9     def get_home(self):
10         return self.base_dir
11     
12     def get_audio_dir(self):
13         return self.audio_dir
14     
15     def get_video_dir(self):
16         return self.video_dir