Files
py_facebook/const.py

35 lines
719 B
Python
Raw Normal View History

2025-03-28 14:50:37 +08:00
import os
2025-03-28 14:50:37 +08:00
BASE_PATH = os.path.dirname(__file__)
SAFE = '!'
MIMETYPE = {
'jpg': 'image/jpeg',
'jpeg': 'image/jpeg',
'png': 'image/png',
# 'gif': 'image/gif',
'mp4': 'video/mp4',
}
PIC_TYPE = ('image/jpeg', 'image/png')
ELEMENT = {
}
# ucloud-us3
ENDPOINT = "154.19.186.49:80"
2025-04-01 14:43:02 +08:00
ACCESS_KEY = '3QcjsqdCYCoy1khuDqia'
SECRET_KEY = 'iPXte32y1deoySiDq0RwONUJIiIgvjTVhbfCL8tV'
2025-04-27 16:19:10 +08:00
BUCKET = 'facebook'
2025-03-28 14:50:37 +08:00
2025-05-30 14:01:29 +08:00
# PROXY
PROXY_HOST = 'http://123.58.209.87:5010/pop/?type=https'
2025-04-24 15:55:08 +08:00
api_key = "adf0d1fc9c9313b7f87c18bf9caef01d"
api_url = "http://local.adspower.net:50325"
# 显示缩放比例 1为100%
DISPLAY_SCALE = 0.7
2025-08-21 18:47:00 +08:00
# 登录, 检查账号, 获取账号配置, 更新账号配置是否隐藏浏览器
HEADLESS = True