forked from HoangTran0410/FBMediaDownloader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
12 lines (12 loc) · 846 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
// you can modify all the variables below
export const ACCESS_TOKEN = "YOUR_ACCESS_TOKEN";
export const WAIT_BEFORE_NEXT_FETCH = 0; // thời gian chờ (ms) trước mỗi lần fetch tiếp theo
export const WAIT_BEFORE_NEXT_FETCH_LARGEST_PHOTO = 200; // thời gian chờ (ms) trước khi tải ảnh có độ phân giải lớn. Nếu chờ ít thì rất dễ bị facebook ban
export const ID_LINK_SEPERATOR = ";";
export const PHOTO_FILE_FORMAT = "png"; // OR jpg
export const VIDEO_FILE_FORMAT = "mp4"; // OR wav ?
export const FOLDER_TO_SAVE_LINKS = "downloads/links";
export const FOLDER_TO_SAVE_ALBUM_MEDIA = "downloads/album_media";
export const FOLDER_TO_SAVE_FEED_MEDIA = "downloads/feed_media";
export const FOLDER_TO_SAVE_USER_VIDEOS = "downloads/user_videos";
export const FOLDER_TO_SAVE_USER_PHOTOS = "downloads/user_photos";