tiktok-auto.config.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "_readme": [
  3. "TikTok 自动互动脚本配置。改这个文件不需要动代码,也不需要重新构建。",
  4. "推送到设备:node tiktok-auto/tools/run.js --push-config",
  5. "设备上的默认路径:/sdcard/Download/tiktok-auto/config.json"
  6. ],
  7. "target": {
  8. "packageName": "com.zhiliaoapp.musically",
  9. "keyword": "fashion",
  10. "maxVideos": 1,
  11. "resultTab": "Top",
  12. "pickStrategy": "random"
  13. },
  14. "watch": {
  15. "minMs": 10000,
  16. "maxMs": 35000
  17. },
  18. "comments": {
  19. "pool": [
  20. "Love this look!",
  21. "So pretty",
  22. "Great style",
  23. "This is amazing",
  24. "Need this outfit",
  25. "Perfect for fall",
  26. "Such a vibe",
  27. "Beautiful"
  28. ],
  29. "avoidRepeatWithinRun": true,
  30. "strictPostCheck": false,
  31. "verifyInList": true
  32. },
  33. "timeouts": {
  34. "appLaunchMs": 25000,
  35. "pageReadyMs": 15000,
  36. "searchResultsMs": 20000,
  37. "playerReadyMs": 20000,
  38. "playbackStartMs": 12000,
  39. "panelReadyMs": 8000,
  40. "postMs": 15000,
  41. "countRefreshMs": 6000
  42. },
  43. "probe": {
  44. "pollTickMs": 150,
  45. "livenessIntervalMs": 2500,
  46. "stallTolerance": 3,
  47. "useAudio": true,
  48. "usePixels": false
  49. },
  50. "guard": {
  51. "enabled": true,
  52. "intervalMs": 1200,
  53. "firstScanTimeoutMs": 4000,
  54. "dismissLabels": [
  55. "Not now", "No thanks", "Skip", "Later", "Cancel", "Close",
  56. "稍后", "暂不", "取消", "关闭", "以后再说"
  57. ]
  58. },
  59. "runtime": {
  60. "configPath": "/sdcard/Download/tiktok-auto/config.json",
  61. "maxRuntimeMs": 0,
  62. "dryRun": false
  63. },
  64. "selectors": {
  65. "_comment": "TikTok 改版导致发送按钮定位失效时,在这里填它的资源 id,不用改代码",
  66. "sendButtonId": "com.zhiliaoapp.musically:id/cn6"
  67. }
  68. }