File size: 953 Bytes
2ab9c74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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

import os


file_path=os.path.abspath(__file__)
# print(file_path)
current_Folder_Path = os.path.dirname(file_path)
# print(current_Folder_Path)
# print(os.path.join(current_Folder_Path,"my_money_pointer"))

# print(current_Folder_Path)
yt_links_for_facebook = "../json_files/yt_links_for_facebook.json"
cookies_file=current_Folder_Path +'/cookies.json'
save_cookies_json=current_Folder_Path +'/save_cookies.json'

screenshot_path =current_Folder_Path +'/reports/screenshot'
reports_path=current_Folder_Path +'/reports/'
os.makedirs(os.path.dirname(reports_path), exist_ok=True)

downloaded_videos_folder = current_Folder_Path + "/downloaded_videos"
os.makedirs(downloaded_videos_folder, exist_ok=True)
new_user_data_directory = current_Folder_Path +'/Chrome/new_user_data_directory'

print("new_user_data_directory : \t",new_user_data_directory)
    
if not os.path.exists(new_user_data_directory):
    os.makedirs(new_user_data_directory)