This commit is contained in:
128
config/platform_config.json
Normal file
128
config/platform_config.json
Normal file
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"platforms": {
|
||||
"damai": {
|
||||
"platform_name": "大麦网",
|
||||
"login": {
|
||||
"method": "scan",
|
||||
"login_url": "https://www.damai.cn/login",
|
||||
"qr_code": "true",
|
||||
"username": "user1@damai.com",
|
||||
"password": "password123"
|
||||
},
|
||||
"ticket_config": {
|
||||
"target_url": "https://m.damai.cn/damai/detail/item.html?itemId=123456789",
|
||||
"auto_buy": true,
|
||||
"auto_buy_time": "08:30:00",
|
||||
"retry_interval": 5,
|
||||
"price": [1, 2, 3],
|
||||
"sess": [1, 2],
|
||||
"queue": {
|
||||
"zhoujielun_0403": "https://m.damai.cn/damai/detail/item.html?itemId=607865020360"
|
||||
}
|
||||
},
|
||||
"proxy_settings": {
|
||||
"use_proxy": true,
|
||||
"proxy_ip": "192.168.1.100",
|
||||
"proxy_port": "8080",
|
||||
"proxy_type": "HTTPS"
|
||||
},
|
||||
"captcha": {
|
||||
"enabled": true,
|
||||
"method": "OCR",
|
||||
"ocr_service": "baidu"
|
||||
},
|
||||
"accounts": [
|
||||
{
|
||||
"username": "user1@damai.com",
|
||||
"password": "password123",
|
||||
"auto_buy_time": "08:30:00",
|
||||
"viewer_person": [1, 2]
|
||||
},
|
||||
{
|
||||
"username": "user2@damai.com",
|
||||
"password": "password456",
|
||||
"auto_buy_time": "08:35:00",
|
||||
"viewer_person": [3, 4]
|
||||
}
|
||||
]
|
||||
},
|
||||
"taopiaopiao": {
|
||||
"platform_name": "淘票票",
|
||||
"login": {
|
||||
"method": "sms",
|
||||
"login_url": "https://m.taopiaopiao.com/",
|
||||
"phone_number": "13800000000",
|
||||
"sms_code": "123456"
|
||||
},
|
||||
"ticket_config": {
|
||||
"target_url": "https://m.taopiaopiao.com/damai/detail/item.html?itemId=987654321",
|
||||
"auto_buy": true,
|
||||
"auto_buy_time": "08:45:00",
|
||||
"retry_interval": 10,
|
||||
"price": [1, 2, 3],
|
||||
"sess": [1, 3],
|
||||
"queue": {
|
||||
"sichuansheng_0504": "https://m.taopiaopiao.com/damai/detail/item.html?itemId=123456789012"
|
||||
}
|
||||
},
|
||||
"proxy_settings": {
|
||||
"use_proxy": true,
|
||||
"proxy_ip": "203.0.113.50",
|
||||
"proxy_port": "3128",
|
||||
"proxy_type": "HTTP"
|
||||
},
|
||||
"captcha": {
|
||||
"enabled": false
|
||||
},
|
||||
"accounts": [
|
||||
{
|
||||
"username": "user1@taopiaopiao.com",
|
||||
"password": "password789",
|
||||
"auto_buy_time": "08:45:00",
|
||||
"viewer_person": [1, 2]
|
||||
}
|
||||
]
|
||||
},
|
||||
"binwandao": {
|
||||
"platform_name": "缤玩岛",
|
||||
"login": {
|
||||
"method": "scan",
|
||||
"login_url": "https://m.binwandao.com/login",
|
||||
"qr_code": "true",
|
||||
"username": "user1@binwandao.com",
|
||||
"password": "password321"
|
||||
},
|
||||
"ticket_config": {
|
||||
"target_url": "https://m.binwandao.com/event/detail/itemId=6789012345",
|
||||
"auto_buy": false,
|
||||
"auto_buy_time": "08:30:00",
|
||||
"retry_interval": 7,
|
||||
"price": [2, 3, 4],
|
||||
"sess": [2, 4],
|
||||
"queue": {
|
||||
"luoji_0605": "https://m.binwandao.com/event/detail/itemId=789012345678"
|
||||
}
|
||||
},
|
||||
"proxy_settings": {
|
||||
"use_proxy": false,
|
||||
"proxy_ip": "",
|
||||
"proxy_port": "",
|
||||
"proxy_type": ""
|
||||
},
|
||||
"captcha": {
|
||||
"enabled": true,
|
||||
"method": "manual",
|
||||
"ocr_service": "none"
|
||||
},
|
||||
"accounts": [
|
||||
{
|
||||
"username": "user1@binwandao.com",
|
||||
"password": "password321",
|
||||
"auto_buy_time": "08:30:00",
|
||||
"viewer_person": [1, 3]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user