configure.py 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. # 测试任务,这里配置以后任务轮转函数直接使用这个任务
  2. TEST_TASK = None
  3. # TEST_TASK = {
  4. # "status": "running",
  5. # "priority": 10,
  6. # "config": {
  7. # "select": "random",
  8. # "alias_email": "mariaandrews2240@gmail-app.com",
  9. # "time_filter": ["AM","PM"],
  10. # "exclude_dates": [],
  11. # "include_today": True,
  12. # "allowed_weekdays": [1,2,3,4,5],
  13. # "include_tomorrow": True
  14. # },
  15. # "user_inputs": {
  16. # "email": "mariaandrews2240@gmail-app.com",
  17. # "password": "Visafly@111",
  18. # "username": "mariaandrews2240@gmail-app.com",
  19. # "support_pta": False,
  20. # "expected_end_date": "2026-06-30",
  21. # "expected_start_date": "2026-05-01"
  22. # },
  23. # "grabbed_history": {},
  24. # "meta": None,
  25. # "id": 0,
  26. # "order_id": "ORD-20260415100806-0fdee58d",
  27. # "routing_key": "auto.slot.lon.fr.tourist",
  28. # "script_version": "latest",
  29. # "attempt_count": 0,
  30. # "notify_count": 0,
  31. # "created_at": "2000-01-01T01:00:00",
  32. # "updated_at": "2000-01-01T01:00:00",
  33. # "expire_at": "2000-01-01T01:00:00"
  34. # }
  35. # 测试账号,这里配置以后账号轮转函数直接使用这个账号
  36. TEST_ACCOUNT = None
  37. # TEST_ACCOUNT = {
  38. # "pool_name": "tls.gb.fr.sentinel",
  39. # "username": "robertolord2257@gmail-app.com",
  40. # "password": "Visafly@111",
  41. # "extra_data": {},
  42. # "status": "active",
  43. # "next_use_time": "2000-01-01T01:00:00",
  44. # "id": 0,
  45. # "created_at": "2000-01-01T01:00:00",
  46. # "updated_at": "2000-01-01T01:00:00"
  47. # }
  48. # 测试代理,这里配置以后ip轮转函数直接使用这个代理
  49. TEST_PROXY = None
  50. # TEST_PROXY = {
  51. # "pool_name": "local",
  52. # "proto": "http",
  53. # "ip": "127.0.0.1",
  54. # "port": 7890,
  55. # "username": "",
  56. # "password": "",
  57. # "id": 0
  58. # }
  59. # Chrome bin 的路径, 这个优先级最高,其次CHROME_BIN 的环境变量,最后系统默认值
  60. CHROME_PATH = None
  61. # CHROME_PATH = "E:/ungoogled-chromium_144.0.7559.132-1.1_windows_x64/chrome.exe"
  62. # Mohomo bin 的路径, 这个优先级最高,其次MIHOMO_BIN 的环境变量,最后系统默认值
  63. MIHOMO_BIN_PATH = None
  64. # MIHOMO_BIN_PATH = 'mihomo-windows-amd64-alpha-98aa7e6/mihomo-windows-amd64.exe'
  65. # proxy tunnel 中继节点, 列表中随机选择
  66. MIHOMO_RELAY_NODES = None
  67. # MIHOMO_RELAY_NODES = [
  68. # {
  69. # "name": "RelayNode jp 01 | 1x",
  70. # "type": "ss",
  71. # "server": "odko6qmr.mobilfunk.top",
  72. # "port": 12012,
  73. # "cipher": "aes-128-gcm",
  74. # "password": "haMLMXirByn6rGVh",
  75. # "plugin": "obfs",
  76. # "plugin-opts": {
  77. # "mode": "http",
  78. # "host": "c0f69828a7c1.microsoft.com"
  79. # },
  80. # "udp": True
  81. # },
  82. # {
  83. # "name": "RelayNode hk 01丨1x",
  84. # "type": "ss",
  85. # "server": "e0405950-3002-4dc8-860b-8fac3ffdd76c.drive-glicloudccp.com",
  86. # "port": 12022,
  87. # "cipher": "aes-128-gcm",
  88. # "password": "haMLMXirByn6rGVh",
  89. # "plugin": "obfs",
  90. # "plugin-opts": {
  91. # "mode": "http",
  92. # "host": "c0f69828a7c1.microsoft.com"
  93. # },
  94. # "udp": True
  95. # },
  96. # {
  97. # "name": "RelayNode hk 02丨1x",
  98. # "type": "ss",
  99. # "server": "e0405950-3002-4dc8-860b-8fac3ffdd76c.drive-glicloudccp.com",
  100. # "port": 12023,
  101. # "cipher": "aes-128-gcm",
  102. # "password": "haMLMXirByn6rGVh",
  103. # "plugin": "obfs",
  104. # "plugin-opts": {
  105. # "mode": "http",
  106. # "host": "c0f69828a7c1.microsoft.com"
  107. # },
  108. # "udp": True
  109. # },
  110. # {
  111. # "name": "RelayNode hk 03丨1x",
  112. # "type": "ss",
  113. # "server": "e0405950-3002-4dc8-860b-8fac3ffdd76c.drive-glicloudccp.com",
  114. # "port": 12024,
  115. # "cipher": "aes-128-gcm",
  116. # "password": "haMLMXirByn6rGVh",
  117. # "plugin": "obfs",
  118. # "plugin-opts": {
  119. # "mode": "http",
  120. # "host": "c0f69828a7c1.microsoft.com"
  121. # },
  122. # "udp": True
  123. # }
  124. # ]
  125. # 临时测试预约提交
  126. TLS_TEST_BOOK_AFTER_QUERY = False