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

[BUG] Problem with tiktok QR and cookie conflict with douyin url links #524

Open
Alexo88 opened this issue Aug 20, 2023 · 1 comment
Open
Assignees
Labels
故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies)

Comments

@Alexo88
Copy link

Alexo88 commented Aug 20, 2023

Describe the bug that occurs
when I open the example.py file I can't capture the QR because it seems to be the douyin QR and not the tiktok QR, so my tiktok app won't process the douyin QR. So nowhere does it say if this QR works for both tiktok and douyin or only for douyin.

On the other hand, when I set the cookies manually, I don't know where to put the tiktok link I want to download so it seems to use a douyin url by default and my cookies are for tiktok, so I get a problem reading .json.

Bug Reproduction Steps to reproduce this behaviour:

[   💻   ]:Windows平台
[   🗻   ]:获取最新版本号中!
[   🚩   ]:目前 14200 版本已是最新
[  配置  ]:配置验证成功!
[  配置  ]:读取本地配置完成!
[  提示  ]:异常,链接错误,无法提取用户ID.
[2023-08-20 20:08:34,095] - Log.py] - ERROR: [  提示  ]:异常,链接错误,无法提取用户ID.,Traceback (most recent call last):
  File "D:\- GITHUB repo\TikTokDownload-main\Util\Profile.py", line 450, in get_Profile
    self.sec_user_id = await self.get_all_sec_user_id(inputs=self.config['uid'])
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\- GITHUB repo\TikTokDownload-main\Util\Profile.py", line 164, in get_all_sec_user_id
    raise ValueError("链接错误,无法提取用户ID.")
ValueError: 链接错误,无法提取用户ID.

[  提示  ]:按任意键退出程序!

Screenshot If applicable, add a screenshot to help explain your issue.

Desktop (please fill in the following information):

  • OS: [e.g. windows 11 64bit] - vpn proxy: [ off] - Project version: [ 1.4.2.2] - py version: [3.11.4]

Attachment
How do I download videos from a tiktok profile, how ?

@Alexo88 Alexo88 added 故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies) labels Aug 20, 2023
@6986552
Copy link

6986552 commented Aug 25, 2023

only for douyin,now

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
故障(bug) 代码问题导致的错误(Bugs caused by code problems) 额外求助(help wanted) 非项目代码错误的求助(Extra attention is needed) 无效(invalid) 非代码故障导致错误或异常(Non-code faults causing errors or anomalies)
Projects
None yet
Development

No branches or pull requests

3 participants