BochilGaming / games-wabot

Games-wabot is RPG Bot Whatsapp. Now support Multi-device!!, check branch multi-device
http://bochil.ddns.net/
GNU General Public License v3.0
208 stars 507 forks source link

[MD] tiktok downloader error #409

Closed Uzoy closed 1 year ago

Uzoy commented 1 year ago

Plugin: plugins/downloader-tiktok.js Sender: 6288239584645@s.whatsapp.net Chat: 6282284519515-1612854470@g.us Command: .tiktok https://vt.tiktok.com/ZSREpgtTJ/


  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "author",
      "nickname"
    ],
    "message": "Required"
  },
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "author",
      "avatar"
    ],
    "message": "Required"
  },
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "video",
      "no_watermark2"
    ],
    "message": "Required"
  },
  {
    "code": "invalid_type",
    "expected": "string",
    "received": "undefined",
    "path": [
      "music"
    ],
    "message": "Required"
  }
]
    at handleResult (file:///root/wabot/node_modules/zod/lib/index.mjs:480:23)
    at ZodObject.safeParse (file:///root/wabot/node_modules/zod/lib/index.mjs:591:16)
    at ZodObject.parse (file:///root/wabot/node_modules/zod/lib/index.mjs:571:29)
    at tiktokdlv3 (file:///root/wabot/node_modules/@bochilteam/scraper/lib/esm/social-media/tiktok.js:128:37)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.handler (file:///root/wabot/plugins/downloader-tiktok.js?id=1668936989858:4:58)
    at async Object.handler (file:///root/wabot/handler.js?id=1668937350841:514:21) {
  issues: [
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    },
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    },
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    },
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    }
  ],
  addIssue: [Function (anonymous)],
  addIssues: [Function (anonymous)],
  errors: [
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    },
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    },
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    },
    {
      code: 'invalid_type',
      expected: 'string',
      received: 'undefined',
      path: [Array],
      message: 'Required'
    }
  ]
}```