Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tiktok.com #424

Open
wweevv-johndpope opened this issue May 5, 2023 · 1 comment
Open

tiktok.com #424

wweevv-johndpope opened this issue May 5, 2023 · 1 comment

Comments

@wweevv-johndpope
Copy link

I set cookie etc

Screenshot 2023-05-05 at 12 25 04 pm

I use url
https://www.tiktok.com/@generalmelbourne/video/7229232477217279233

{"odin_tt":"8c1bdd213c3d5d4f6d4111c6c010c6b174a3d55a9c027a686d29d87f68c799bfc794464ca53895633b4bfbd5c1b376cbde977a7138d4bb2eef2837f26df9c0b3","passport_csrf_token":"deb05acbb4cf7af9841ad5033710c014","sessionid_ss":"893a0aeeae045f494f8d51db0cbd39a5","ttwid":"1%7CaxjkFo8SrI-dyzGK88qvjqo7DgsBy59UZW-DgTMSjiw%7C1683253317%7C6bc35015307fad5992802970c16ff603cf5998083a19f7b6769f40a70b42d422","msToken":"zq2Yee4mC0-X4zJoManOaYwW_JbuBtNQFzxRDtGqZkojlUNKu2g30ec08YyFuf_w6tBq9HbqsW9zOa5YRbVOiQ6R-C4pWL0uoCMXKu0jBSVy18auXkkesMBwokjneC2C9WiUZBFlBmQjMZc="}

but it breaks -
Screenshot 2023-05-05 at 12 25 48 pm

any ideas?

@wweevv-johndpope
Copy link
Author

wweevv-johndpope commented May 5, 2023

Screenshot 2023-05-05 at 12 27 38 pm

npm ERR! A complete log of this run can be found in:

npm ERR! /root/.npm/_logs/2023-05-05T02_15_21_336Z-debug-0.log

{"odin_tt":"8c1bdd213c3d5d4f6d4111c6c010c6b174a3d55a9c027a686d29d87f68c799bfc794464ca53895633b4bfbd5c1b376cbde977a7138d4bb2eef2837f26df9c0b3","passport_csrf_token":"deb05acbb4cf7af9841ad5033710c014","sessionid_ss":"893a0aeeae045f494f8d51db0cbd39a5","ttwid":"1%7CaxjkFo8SrI-dyzGK88qvjqo7DgsBy59UZW-DgTMSjiw%7C1683253317%7C6bc35015307fad5992802970c16ff603cf5998083a19f7b6769f40a70b42d422","msToken":"zq2Yee4mC0-X4zJoManOaYwW_JbuBtNQFzxRDtGqZkojlUNKu2g30ec08YyFuf_w6tBq9HbqsW9zOa5YRbVOiQ6R-C4pWL0uoCMXKu0jBSVy18auXkkesMBwokjneC2C9WiUZBFlBmQjMZc="}

open shorturl ok

作品id 7225291619203828993

https://www.douyin.com/aweme/v1/web/aweme/detail/?aweme_id=7225291619203828993&aid=1128&version_name=23.5.0&device_platform=android&os_version=2333&X-Bogus=DFSzswVuZ5TANxXhtCdzCl9WX7ry

open url ok

GetInfo ok

TypeError: Cannot read properties of null (reading 'video')

at /usr/src/tiktokweb/routes/api.js:71:62

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

TypeError: Cannot read properties of null (reading 'video')

at /usr/src/tiktokweb/routes/api.js:71:62

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

GET /api?url=https://www.tiktok.com/@sohailaaaa.a/video/7225291619203828993 200 1446.029 ms - 883

/usr/src/tiktokweb/routes/api.js:127

    reject(error_1);

    ^

ReferenceError: reject is not defined

at GetInfo (/usr/src/tiktokweb/routes/api.js:127:9)

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.15.0

[nodemon] app crashed - waiting for file changes before starting...

wweevv-johndpope referenced this issue in TakahisaFuruta/tiktok-scraper May 5, 2023
Johnserf-Seed added a commit that referenced this issue Dec 31, 2023
…#220 #223 #230 #242 #258 #260 #295 #312 #313 #320 #322 #332 #335 #341 # #343 #346 #348 #355 #357 #360 #361 #362 #364 #367 #370 #372 #373 #374 #376 #377 #379 #380 #381 #382 #383 #393 #394 #395 #396 #398 #399 #400 #401 #402 #403 #404 #405 #407 #408 #410 #412 #414 #416 #423 #424 #426 #432 #435 #438 #442 #443 #449 #450 #455 #456 #457 #459 #460 #465 #467 #470 #472 #473 #474 #475 #481 #482 #483 #488 #492 #493 #499 #502 #503 #504 #505 #507 #509 #512 #514 #524 #525 #530 #539 #540 #541 #547 #550 #554 #558 #563 #568 #569 #572 #574 #575 #576 #577 #578 #582 #583 #584 #587 #589 #590 #594 #595 #597 #598 #600 #601 #604 #605 #606 #608 #611 #617 #618 #619

[Added]
1. 新增了对直播间信息的详细获取和下载功能。
2. 添加详细直播间信息的下载支持。
3. 引入了提取评论的功能。
4. 新增支持下载 TikTok 数据,包括发布作品、喜欢作品、图集作品等。
5. 提供了自动生成 XB 参数的接口,支持真实和虚假的 msToken。
6. 引入接口数据过滤器,提高数据采集和处理效率。
7. 增加支持长短链解析的功能。
8. 新增了对合集作品的详细获取和下载功能。
9. 引入了 SSO 扫码登录和自动获取Cookie的功能,可通过 `--auto-cookie` 参数实现。

[Changed]
1. 优化了异步下载的网络并发数、超时重试设置,降低采集错误率。
2. 修改了文件检查逻辑,添加了黑名单选项,不再检查黑名单中的作品是否存在。(未来)
3. 对命令行交互进行了调整,添加了更多的配置选项,提供了更灵活的 CLI 模式。
4. 改进了版本更新机制,全新开发的 F2 现在依赖 pip 进行升级。
5. 对于多用户配置,现在可以为不同用户建立不同的配置与下载模式。

[Security]
1. 修复了可能导致信息泄露的漏洞。

[Deprecated]
1. 废弃了一些低版本接口的相关功能,建议使用更新的接口。

[Fixed]
1. 修复了一些在异步下载中可能导致的错误。
2. 修复了一些异步下载线程控制的错误。

[Removed]
1. 移除了不再支持的功能和接口。

[Documentation]
1. 更新了文档,提供了更详细的配置和使用说明。
2. 补充了开发者必读的内容,包括配置文件、调试日志级别等。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant